Mike Zhang
Mike Zhang

Reputation: 333

Change Prometheus Scrape Job Name

We are using prometheus to scrape some metrics, but right now we want to change the job name. if i just change the name directly, it will not show the history chart in grafana(start with the new job name metrics) . Can we change the old metric's job name direct using some tools?

Now we are run the new and old metrics scrape in parallel for one month, and stop the old one.

Upvotes: 2

Views: 2527

Answers (1)

brian-brazil
brian-brazil

Reputation: 34142

It's not currently possible to retroactively change labels.

Upvotes: 2

Related Questions