Search code examples
labelmonitoringprometheus

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


Solution

  • 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/