Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Remove host from Grafana
New on LowEndTalk? Please Register and read our Community Rules.

Remove host from Grafana

nfnnfn Member
edited October 3 in Help


I'm using Grafana + Prometheus + Node Exporter with Node Exporter Full Dashboard and would like to remove an old host from Grafana Dashboard.

Whenever I delete a series, the data is removed from Prometheus but in the Grafana Dashboard, the host remains there.

These are the commands I use:

curl -s -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={instance="my.instance.tld:9100",job="job_name"}'
curl -s -X POST -g 'http://localhost:9090/api/v1/admin/tsdb/clean_tombstones'

How can I remove the host from Grafana Dashboard?



  • nfnnfn Member

    if someone is interested, it looks like the only way to do this is to wait up to the retention period (15 days by default)
    After removing the instance, I forced two hours and the host was purged from Prometheus.

    If you need to configure retention to a value other than 15d, you'll need to set --storage.tsdb.retention.time in the system's service on ExecStart

    Thanked by 1tjn
Sign In or Register to comment.