Hi,

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

*curl  -XPOST   -g
'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={__name__=~
<http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={__name__=~>".+"}'*
followed by
*curl  -XPOST  'http://localhost:9090/api/v1/admin/tsdb/clean_tombstones
<http://localhost:9090/api/v1/admin/tsdb/clean_tombstones>'*

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.

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABXnQPt-vdCb4G2JLyjy0GR8GXE7w4%3D_8BRjLHB2VzCoNLuRKw%40mail.gmail.com.

Reply via email to