Skip to content

docs(openspec): plan #2202 Drop the old label fallback from AI spend - #5941

Closed
devops-cli-service[bot] wants to merge 1 commit into
mainfrom
chore/2202-drop-old-label-fallbacks-from-ai
Closed

devops-cli-service[bot] wants to merge 1 commit into
mainfrom
chore/2202-drop-old-label-fallbacks-from-ai

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The 8 savings queries of k8s/devops/dashboards/ai-spend.json still map token series from before the local label (#1672) and the operation label (#1623): a series without local counts as local when the gateway served it, and a series without operation counts as chat. The last such sample leaves Prometheus' 30-day retention at about 2026-11-23. This change drops the mapping. The 8 queries select local="true" only, sum each operation branch by operation and type, and the dashboard test fails when one keeps a fallback selector. The three savings descriptions and k8s/README.md lose the fallback text, and docs/TELEMETRY.md is regenerated. The record holds the current label set only.

Plans #2202

Change: openspec/changes/2202-drop-old-label-fallbacks-from-ai/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 16, 2026
@devops-cli-service devops-cli-service Bot added the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 16, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The default branch no longer passes the plan check of this pull request:

  • openspec/changes/2202-drop-old-label-fallbacks-from-ai: stage: The renamed requirement The savings queries price every range and every token series is not in openspec/specs/ai-spend-pricing/spec.md. Give the exact name of a requirement of that spec as from_name.
  • openspec/changes/2202-drop-old-label-fallbacks-from-ai: stage: Scenario 'A range that ends before the price rule, with series from before the labels' of requirement 'The savings queries price the labelled local tokens at the reference price' has no behavior task.
  • openspec/changes/2202-drop-old-label-fallbacks-from-ai: stage: Scenario 'A range with series with and without the labels' of requirement 'The savings queries price the labelled local tokens at the reference price' has no behavior task.

@dan-petty

Copy link
Copy Markdown
Owner

Closed: #5931 already removed every old-label fallback that this plan drops, so #2202 is closed as completed and this plan has nothing left to change.

@dan-petty dan-petty closed this Nov 16, 2026
@devops-cli-service
devops-cli-service Bot deleted the chore/2202-drop-old-label-fallbacks-from-ai branch November 16, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant