mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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
8 lines
283 B
Plaintext
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.
|
|
```
|