-
Notifications
You must be signed in to change notification settings - Fork 188
how to remove stopped task from metrics #45
Comments
@mxlxm DM's metrics are stored in Prometheus, you can try https://prometheus.io/docs/prometheus/latest/querying/api/#delete-series. |
no, I mean some stopped task's metric info still present on dm-worker's metric page |
stopped task's metrics already stored in Prometheus, then Grafana still presents them. |
no, there's nothing about prometheus. |
@mxlxm I understand your question now. Now, I think you should restart the DM-worker to remove these metrics, and we can remove them automatically when stopping the task later. Or, you can open a PR to do that if you want. 😁 |
😅 haven't read the code, I'll try to do this this weekend. |
fixed in #575. |
Question
Before asking a question, make sure you have:
how to remove stopped task(some test tasks) from dm-worker metrics?
The text was updated successfully, but these errors were encountered: