I am trying to remove some data in a specified time range grafana data prometheus label
curl -u promadmin -X POST 'http://127.0.0.1:9090/api/v1/admin/tsdb/delete_series?match[]=flavibot_guild_removed&start=2024-08-13T11:00:00.000Z&end=2024-08-13T12:00:00.000Z'
the command is executed, and there are no errors and my data is still there. I also tried to remove start and end, and it doesn't change anything
I executed this request on the wrong server
First I executed my first request on the wrong server so that why it doesn't have effect when I was looking.
I executed this request on the "right" server It deleted all my datas lol with a code 000 and now if a use it again I have a code 204 so maybe next time it will works thanks
curl \
--silent \
--request POST \
--data-urlencode "match[]=guild_added" \
--data-urlencode "start=2024-08-19T11:23:21.000Z" \
--data-urlencode "end=2024-08-19T11:23:24.000Z" \
http://localhost:9090/api/v1/admin/tsdb/delete_series \
--write-out 'Response Code: %{response_code}\n'