Skip to content

Review, findings and AI spend metrics reach Prometheus #564

Closed

Description

@dan-petty

Found while fixing #547. With telemetry reaching the collector, the devops-cli and ai-spend dashboards still query metrics nothing sends over OTLP:

  • devops_cli_review_duration_seconds and devops_cli_findings_total are emitted nowhere;
  • devops_cli_ai_spend_usd_total, devops_cli_ai_requests_total, devops_cli_ai_server_spend_usd and devops_cli_ai_active_servers exist only as Prometheus text on devops server's /metrics, which nothing in the cluster scrapes. The spend ledger lives on the workstation.

The command, subcommand, subprocess and RAG panels fill once #547's collector changes are applied.

Deliverables

  • Reviews record their duration and findings (by severity and status) as OTLP metrics.
  • AI calls record requests, tokens and approximate spend per backend and model as OTLP metrics as they happen, so the cluster's Prometheus sees them without scraping a workstation.
  • Every query in devops-cli.json and ai-spend.json names a metric that is sent, checked by a test.

Activity

  1. added this to the v0.2.23 milestone on Sep 25, 2026
  2. added
    type/bug
    scope/telemetry
    priority/p2-medium
    on Sep 25, 2026
  3. dan-petty commented on Sep 25, 2026

    @dan-petty
    OwnerAuthor

    Closed by #568, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/telemetrytype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions