mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-10 18:17:30 +01:00
Checkpoint: fc3be444ef4c
Entire-Session: 5de2a23c-09cd-4d6c-a97c-fab8657d094c Entire-Strategy: manual-commit Entire-Agent: Claude Code Ephemeral-branch: entire/9672903-e3b0c4
This commit is contained in:
16
fc/3be444ef4c/0/context.md
Normal file
16
fc/3be444ef4c/0/context.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Session Context
|
||||
|
||||
## User Prompts
|
||||
|
||||
### Prompt 1
|
||||
|
||||
Implement the following plan:
|
||||
|
||||
# Consolidate buildQueries / Scope Transformation Logic
|
||||
|
||||
## Context
|
||||
|
||||
`pkg/metricstore/query.go` (InternalMetricStore) and `internal/metricstoreclient/cc-metric-store-queries.go` (CCMetricStore) both implement the `MetricDataRepository` interface. They contain nearly identical scope-transformation logic for building metric queries, but the code has diverged:
|
||||
|
||||
- **metricstoreclient** has the cleaner design: a standalone `buildScopeQueries()` function handling all ...
|
||||
|
||||
Reference in New Issue
Block a user