I have 2 jobs. one is new and other one is old. Need to delete old one, so that it will get removed from Grafana dashboard too.
Thanks in Advance...
See Question&Answers more detail:osI have 2 jobs. one is new and other one is old. Need to delete old one, so that it will get removed from Grafana dashboard too.
Thanks in Advance...
See Question&Answers more detail:osExpanding on evgenyl's answer, the exact command would be something like:
curl -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={job="name_of_old_job"}'
Replace name_of_old_job with the name of the job you want deleted.
Reminder that you need to have started prometheus with the --web.enable-admin-api flag