Deleting timeseries

24 views
Skip to first unread message

Venkata Bhagavatula

unread,
Mar 3, 2020, 2:23:32 AM3/3/20
to Prometheus Users
Hi,

I was using the  admin rest api for deleting the timeseries. Following is what i executed:

followed by

As mentioned in the document, 204 is returned for both timeseries.

I was expecting that all the timeseries would be deleted from the disk. But this is not the case.
i could see that still timeseries data is present.

I am using prometheus version 2.11.1. 
Can we delete all the timeseries from the disk? using the above Rest API.

Thanks n Regards,
Chalapathi.

Venkata Bhagavatula

unread,
Mar 10, 2020, 3:56:38 AM3/10/20
to Prometheus Users
Hi All,

I tried the following today, if i delete few metrics individually, those metrics are deleted. But if i give expression to match all metrics then none of them are getting deleted.
Can you let me know if i am missing something?

Thanks n Regards,
Chalapathi.
Reply all
Reply to author
Forward
0 new messages