On 05.12.24 07:41, Esau Garcia wrote:
> 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.
This deletes a metric with the grouping key
`{job="some_job", instance="=*"}`.
You need to specify the grouping key in the DELETE URL. So first find
out what the grouping key is. Is `instance` really part of it? (It
strikes me as weird that you use an empty label value for `instance`.)
In any case, the `=` sign is not part of the label's value.
--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email]
bjo...@rabenste.in