Use Google. Enter "prometheus delete timeseries", and you will find:

https://www.robustperception.io/deleting-time-series-from-prometheus/

This gives the exact command.

On Sunday, 4 December 2022 at 17:20:28 UTC [email protected] wrote:

> could you please help me with the exact command?
>
> On Sunday, 4 December 2022 at 22:18:28 UTC+5:30 [email protected] 
> wrote:
>
>> 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].
>> 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/06c1432a-5a0d-4cce-aba5-d7284c10f774n%40googlegroups.com.

Reply via email to