简体   繁体   中英

Deleting labels in Prometheus

I'm using Prometheus to do some monitoring but I can't seem to find a way to delete labels I no longer want. I tried using the DELETE /api/v1/series endpoint but it doesn't remove it from the dropdown list on the main Prometheus Graph page. Is there a way to remove them from the dropdown without restarting from scratch?

Thanks

This happens to me also, try to include the metric name when querying for labels' values like this:

    label_values(node_load1, instance)

ref: http://docs.grafana.org/features/datasources/prometheus/

If you delete every relevant timeseries then it should no longer be returned. If this is not the case, please file a bug.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM