Hi
 As suggested in this issue 
: https://github.com/prometheus/prometheus/issues/7894
Can anyone help me here ?


*What did you do?*
I was trying to clean up all metrics 1599141970(GMT: Thursday, September 3, 
2020 2:06:10 PM) time 1599142090(GMT: Thursday, September 3, 2020 2:08:10 
PM)
v1

curl -X POST -g 
'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={__name__=~".%2B"}&start=1599141970&end=1599142090'
v2

curl post -g 'http://localhost:9090/api/v2/admin/tsdb/delete_series' -d 
{"matchers": [{"name": "__name__", "type": 2, "value": ".+"} ], "start": 
"1599141970","end": "1599142090"}

*What did you expect to see?*

All the metrics will be cleaned up falling under the time range 1599141970 
- 1599142090

*What did you see instead? Under which circumstances?*
It won't work , No deletion at all
*Environment*
local | windows

   - 
   
   System information:
   
   insert output of uname -srm here
   - 
   
   Prometheus version:
   
   insert output of prometheus --version here
   prometheus, version 2.12.0 (branch: HEAD, revision: 43acd0e 
   
<https://github.com/prometheus/prometheus/commit/43acd0e2e93f9f70c49b2267efa0124f1e759e86>
   )
   build user: root@7a9dbdbe0cc7
   build date: 20190818-14:07:44
   go version: go1.12.8
   - 
   
   Alertmanager version:
   
   insert output of alertmanager --version here (if relevant to the issue)
   - 
   
   Prometheus configuration file:
   
insert configuration here 

   - Alertmanager configuration file:

insert configuration here (if relevant to the issue) 

   - Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

-- 
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/49ce2e7d-e089-4a22-b75d-6eed829dbb1bn%40googlegroups.com.

Reply via email to