Skip to content

🔮 Add support for multiple metric names per metric

Compare
Choose a tag to compare

⭐️ 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:

CleanShot 2019-10-20 at 18 49 36@2x

Giving you time to migrate Recording Rules and any dashboard to eventually remove the deprecated name again.