Skip to content

queue-monitor and dispatcher metrics missing #1476

Open
@mweinelt

Description

@mweinelt

Describe the bug
The queue-runner should produce four metrics that measure the internal bottlenecks of the monitor and dispatcher components.

To Reproduce
Steps to reproduce the behavior:

  1. curl http://hydra.nixos.org:9198/metrics | grep time_spent

Expected behavior
The following metrics appear:

  • hydraqueuerunner_dispatcher_time_spent_running
  • hydraqueuerunner_dispatcher_time_spent_waiting
  • hydraqueuerunner_queue_monitor_time_spent_running
  • hydraqueuerunner_queue_monitor_time_spent_waiting

Hydra Server:

Please fill out this data as well as you can, but don't worry if you can't -- just do your best.

  • OS and version: NixOS 24.11 (db8f4fe18ce772a9c8f3adf321416981c8fe9371)
  • Version of Hydra: 1c52c4c
  • Version of Nix Hydra is built against: nix follows input 'hydra/nix'
  • Version of the Nix daemon: 2.28.2

Additional context
Added in efcf681

Metadata

Metadata

Assignees

No one assigned

    Labels

    buginfraIssue affecting the @NixOS/infra team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions