Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
How to delete time series from Prometheus
33 views
Skip to first unread message
Haochi Xiangjiao
unread,
Jul 17, 2020, 9:58:03 AM
7/17/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
I have tried api:
curl -X POST -g '
http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={fahrtId=~
".+"}'
and
./curl -X POST -g '
http://localhost:9090/api/v1/admin/tsdb/clean_tombstones
'
,
but I still got
"labelValueCountByLabelName":[{"name":"fahrtId","value":609850}
,
when I do
curl
http://localhost:9090/api/v1/status/tsdb
.
What should I do to delete all metrics with label
fahrtId
?
Reply all
Reply to author
Forward
0 new messages