I'm raising a pushgateway container through kubernetes with: ``` apiVersion: apps/v1 kind: Deployment metadata: name: pushgateway spec: replicas: 1 selector: matchLabels: app: pushgateway template: metadata: labels: app: pushgateway spec: containers: - name: pushgateway image: prom/pushgateway ports: - containerPort: 9091 args: [ "--log.level=debug", "--web.enable-lifecycle", "--web.enable-admin-api" ] ```
I port forward into port 9091, and I'm able to retrieve metrics through the metrics endpoint. I'm even able to push metrics as described here <https://github.com/prometheus/pushgateway?tab=readme-ov-file#command-line>. But when I try deleting this metric through: (port forwarding from 8080 -> 9091) *curl -X DELETE http://localhost:8080/metrics/job/some_job/instance/=* The metric does not get deleted. IIUC, the grouping key is made up from the labels, which are only job and instance as seen in the metrics endpoint: *# TYPE some_other_metric untyped some_other_metric{instance="",job="some_job"} 3.14* I can even see that after calling delete through curl, a new metric shows up: *pushgateway_http_requests_total{code="202",handler="delete",method="delete"} 1 *So, its a 202, which doesn't show any problem in the logs of the pushgateway which are setup as debug. Cant figure out why I can't achieve deletions. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/prometheus-users/01625437-93fa-40b5-ba48-40e9f35efe72n%40googlegroups.com.

