I want to delete some metrics that I wrongly pushed to influxdb using this API queries:
I couldn’t find any instructions on how to that. Is there any way?
I want to delete some metrics that I wrongly pushed to influxdb using this API queries:
I couldn’t find any instructions on how to that. Is there any way?
Hi @guidogiuntoli,
Check this documentation:
or this documentation if you want to delete data through API:
Best regards,
ldrascic
Sorry for not having clarified it. I am using Grafana Cloud + Prometheus as data sources. The problem is on Prometheus I would say and not so much on the InfluxDB query format.
Any idea if it is possible to clear the DB in Prometheus?
In other words, when I push data I do it like:
URL="https://influx-prod-06-prod-us-central-0.grafana.net/api/v1/push/influx/write"
curl -X POST -H \
"Authorization: Bearer $API_KEY" -H \
"Content-Type: application/json" $URL -d "$BODY"
What is the equivalent for deleting it?