Files
nomad/.changelog/26737.txt
Tim Gross ac86225e09 metrics: reduce heap usage of eval broker metrics (#26737)
The metrics on the eval broker include labels for the job ID, but under a high
volume of dispatch workloads, this results in excessive heap usage on the
leader. Dispatch workloads should use their parent ID rather than their child ID
for any metrics we collect.

Also, eliminate an extra copy of the labels. And remove the extremely high
cardinality `"eval_id"` label from the `nomad.broker.eval_waiting` metric.

Fixes: https://github.com/hashicorp/nomad/issues/26657
2025-09-12 08:29:46 -04:00

8 lines
283 B
Plaintext

```release-note:breaking-change
metrics: Eval broker metrics that previously used the job ID as a label will now use the parent ID of dispatch and periodic jobs
```
```release-note:improvement
metrics: Reduce memory usage on the Nomad leader for collecting eval broker metrics.
```