🔮 Add support for multiple metric names per metric
⭐️ Features
Add support for multiple metric names per metric
Assume within your infrastructure you want to migrate from metric_name
to prefix_metric_name
without loosing data or insight for moment.
With this release you can specify multiple names per metric type. This works for each type up
, countOfGcs
, durationOfGc
, reclaimedInGc
, httpRequestDurationPerPercentileInMilliseconds
, httpRequestDurationInMilliseconds
, httpRequestDurationPerPercentileInSeconds
, httpRequestDurationInSeconds
.
Each value can be an Array<String>
so httpRequestDurationInMilliseconds: ['deprecated_name', 'next_name']
.
During a transition period both names will be exposed to Prometheus:
Giving you time to migrate Recording Rules and any dashboard to eventually remove the deprecated name again.