I plugged the JMX exporter to my HBase instance without seeing there were JMX metrics relative to regions.
I blacklisted them afterwards but now I am stuck with hundreds of useless metrics polluting the database and the Prometheus interface.
Has anyone a solution to delete quickly all of them ? Is there a way to delete an entire job for example ?
Thanks,
Simon
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ curl -XDELETE -g 'http://localhost:9090/api/v1/series?match[]={job="prometheus"}'
Thanks.
Do you know if there is a way to retrieve all series for a given job ?
So that I can create a script to delete all of them ?
On Wednesday, March 23, 2016 at 5:12:32 PM UTC+1, Julius Volz wrote:
> Yep, see http://prometheus.io/docs/querying/api/#deleting-series
>
>
> On Wed, Mar 23, 2016 at 5:10 PM, <dumas...@gmail.com> wrote:
> Hello everyone,
>
>
>
> I plugged the JMX exporter to my HBase instance without seeing there were JMX metrics relative to regions.
>
>
>
> I blacklisted them afterwards but now I am stuck with hundreds of useless metrics polluting the database and the Prometheus interface.
>
>
>
> Has anyone a solution to delete quickly all of them ? Is there a way to delete an entire job for example ?
>
>
>
> Thanks,
>
> Simon
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.