The default retention is set to 15d iirc, so once that ages out it wil disappear. You can also use promtool to manually delete out data if you really wish.
From: [email protected] <[email protected]> on behalf of BHARATH KUMAR <[email protected]> Date: Sunday, December 4, 2022 at 11:00 AM To: Prometheus Users <[email protected]> Subject: [prometheus-users] How to delete the historical data Hello All, I installed node exporter in multiple instances. Now I deleted one of those instance(this is unreachable instance) from prometheus.yml file. When I am trying to query up == 0, still I am able to see this instance in the database. How to delete that particular instance in database? Any help? Thanks in advance. Thanks & regards, Bharath Kumar -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/58e88b61-58be-441c-9fa8-a89a534d180dn%40googlegroups.com<https://groups.google.com/d/msgid/prometheus-users/58e88b61-58be-441c-9fa8-a89a534d180dn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/DM5PR07MB41330CF0DA204B7EED306EBAF1199%40DM5PR07MB4133.namprd07.prod.outlook.com.

