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