Hello 瞿谷歌, Per the documentation <https://prometheus.io/docs/prometheus/latest/querying/api/#delete-series> - this sequence of steps should indeed delete your series. This sounds like unexpected behaviour so I would suggest raising an issue against the Prometheus Github repository and provide as much relevant information as you can.
Best, Ian On Fri, Jul 16, 2021 at 7:49 AM 瞿谷歌 <[email protected]> wrote: > I execute the api request as follow: > /api/v1/admin/tsdb/delete_series?match[]={job="xxx"} > and > /api/v1/admin/tsdb/clean_tombstones > > but when i execute the query by "/api/v1/query" ,the data what should be > deleted is still returned. > Can you give some suggestion? > > > -- > 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/80d94bd7-b2fd-41de-825d-438869bf774dn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/80d94bd7-b2fd-41de-825d-438869bf774dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CADoMBNW2Voj6mf%3D51hy7FA2mYO99axBfcb6%2BDcNE6yq78SPd3A%40mail.gmail.com.

