Skip to content

chore(telemetry): record the metrics row request count after rollout #4118

Open

Description

@devops-cli-service

Split from #3941.

After the code change, the metrics row must show fewer counted requests. This part waits on deployment and one hour of production traffic. It cannot be tested offline. Acceptance criteria: deploy the change; run sum(increase(devops_cli_github_requests_total{job=***roadmap-service***, row=***metrics***, status!=***304***}[1h])) over one hour; the value is lower than 288; comment the value and the date on #3941.

Proposed design

Problem statement

The change of #3941 must make the metrics row count fewer GitHub requests. This item measures the count one hour after the rollout. It records the value on #3941. It changes no code. It waits on the deployment and on one hour of production traffic.

Acceptance criteria

Requirement: Request count of the metrics row

The metrics row of the roadmap Service SHALL send fewer than 288 non-304 GitHub requests over one hour after the change of #3941 deploys.

Scenario: Hourly count after the rollout

  • WHEN The change of fix(service): the metrics row sends too many counted requests #3941 is deployed, one hour of production traffic has passed, and the live query sum(increase(devops_cli_github_requests_total{job="roadmap-service", row="metrics", status!="304"}[1h])) runs against the production Prometheus
  • THEN The query returns a value lower than 288.

Requirement: Pending a person after the merge

A person MUST comment the measured value and the date of the measurement on #3941 after the rollout.

Scenario: Comment with the value and the date

  • WHEN The query returns its value after the rollout
  • THEN The live check uv run devops gh issue view 3941 --comments shows a comment with the value and the date.

Existing Tool Considered

No alternatives check has run. Prometheus covers the need: the deployed roadmap Service exposes devops_cli_github_requests_total with the row label, and one PromQL query reads it. The tool lacks the data until #3941 deploys and one hour of production traffic passes, so no offline check can run. The change builds no code, so the cost to build, keep and fix code is zero tokens and zero elapsed time.

Key questions

Fit

Fits in one pull request.

Suspected block

One hour of production traffic after the deployment of the change of #3941.

Dependencies

#3941

Activity

  1. added
    source/agent
    type/chore
    scope/telemetry
    status/new
    value/medium
    effort/low
    on Nov 8, 2026
  2. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    ContributorAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/chore. The chore prefix of the title gives the type.
    • Scope: scope/telemetry. The (telemetry) scope of the title gives the scope.
    • Priority: P3-Low. The check waits on deployment and does not block other work.
    • Value: Medium. The result shows if the fix reduces the counted requests.
    • Effort: Low. One Prometheus query and one comment give the result.
    • Related: fix(service): the metrics row sends too many counted requests #3941, which asks for a different change. Both items concern the metrics row requests; #3941 changes the code and the candidate measures the live drop after deployment.
  3. added
    priority/p3-low
    on Nov 8, 2026
  4. devops-cli-service commented on Nov 9, 2026

    @devops-cli-service
    ContributorAuthor

    Refine cannot set this item to Ready at 6121d09 while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.

  5. dan-petty commented on Nov 15, 2026

    @dan-petty
    Owner

    Returned: the item is a measurement, not a code change. It needs the change of #3941 deployed and one hour of production traffic, then the PromQL query sum(increase(devops_cli_github_requests_total{job="roadmap-service", row="metrics", status!="304"}[1h])) and a comment of the value and the date on #3941. No offline test can run it, and this workstation holds no Prometheus with that data. Revisit after the rollout.

  6. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  7. devops-cli-service commented on Nov 23, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  8. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

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

    effort/lowpriority/p3-lowscope/telemetrysource/agentstatus/newtype/chorevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions