4

I only see how to delete from pushgateway using 'curl -X DELETE http://localhost:9091/metrics/job/some_job/instance/some_instance', but I want to delete metrics that contain a specific label value, how would I do that?

UPDATE: I was using python to write the script, and prometheus has a Client for python with a function 'delete_from_pushgateway()'

This can be found at: https://github.com/prometheus/client_python

NathanZ
  • 43
  • 1
  • 5

1 Answers1

0

according to Prometheus Gateway README

imbananko
  • 122
  • 8