Skip to content

Conversation

@pharaujo
Copy link

Prometheus 3 introduces normalization of le label values for classic histogram to improve consistency across different ingestion methods. More details can be found in the Prometheus 2 to 3 migration guide. This commit enables a seamless transition for users migrating from Prometheus 2 to Prometheus 3 by changing the le match behavior to a regular expression that matches both normalized and non-normalized le values. This ensures that rules generated by Pyrra continue to function correctly during and after the migration process.

fixes #1611

Prometheus 3 introduces normalization of `le` label values for classic
histogram to improve consistency across different ingestion methods.
More details can be found in the [Prometheus 2 to 3 migration guide][1].
This commit enables a seamless transition for users migrating from
Prometheus 2 to Prometheus 3 by changing the `le` match behavior to a
regular expression that matches both normalized and non-normalized
`le` values. This ensures that rules generated by Pyrra continue to
function correctly during and after the migration process.

[1]: https://prometheus.io/docs/prometheus/latest/migration/#le-and-quantile-label-values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support migration to Prometheus 3 le normalized buckets

1 participant