Skip to content

Allow metrics that contain colons and brackets#1572

Open
knedlsepp wants to merge 1 commit intoNixOS:masterfrom
knedlsepp:relax-hydra-metrics-name-check
Open

Allow metrics that contain colons and brackets#1572
knedlsepp wants to merge 1 commit intoNixOS:masterfrom
knedlsepp:relax-hydra-metrics-name-check

Conversation

@knedlsepp
Copy link
Member

On my personal hydra I've been using benchmarking metric names that are derived from pytest test names like test_foo.py::test_bar[1]. Since #1449 these metrics are rendered correctly in the metrics tab. However since commit 0d3842a these metric names are no longer supported and (silently) don't get ingested anymore. With this commit I'm relaxing the strictness of the metric name regex in order to support ingesting these metrics again.

Ping @dasJ

@dasJ dasJ added the queue runner hydra-queue-runner component label Feb 13, 2026
@knedlsepp knedlsepp marked this pull request as draft February 13, 2026 10:31
On my personal hydra I've been using benchmarking metric names that are
derived from pytest test names like `test_foo.py::test_bar[1]`.
Since NixOS#1449 these metrics are
rendered correctly in the metrics tab. However since commit 0d3842a
these metric names are no longer supported and (silently) don't get
ingested anymore. With this commit I'm relaxing the strictness of the
metric name regex in order to support ingesting these metrics again.
@knedlsepp knedlsepp force-pushed the relax-hydra-metrics-name-check branch from 75607bd to 92f9d0a Compare February 13, 2026 10:33
@knedlsepp knedlsepp marked this pull request as ready for review February 14, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

queue runner hydra-queue-runner component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants