Giter VIP home page Giter VIP logo

Comments (7)

csuzhangxc avatar csuzhangxc commented on August 22, 2024

@mxlxm DM's metrics are stored in Prometheus, you can try https://prometheus.io/docs/prometheus/latest/querying/api/#delete-series.

from dm.

mxlxm avatar mxlxm commented on August 22, 2024

@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

from dm.

csuzhangxc avatar csuzhangxc commented on August 22, 2024

stopped task's metrics already stored in Prometheus, then Grafana still presents them.
so, you should delete them in Prometheus.

from dm.

mxlxm avatar mxlxm commented on August 22, 2024

no, there's nothing about prometheus.
I created some test task, and then stopped them, query-status shows empty, but on dm-worker's x.x.x.x:8262/metrics page, those test task's metric still present. is there any possible way to remove them?

from dm.

csuzhangxc avatar csuzhangxc commented on August 22, 2024

@mxlxm I understand your question now.
This is because when stopping the task, metrics with task-name label were not removed. Maybe we should call some functions like DeleteLabelValues for metrics.

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. 😁

from dm.

mxlxm avatar mxlxm commented on August 22, 2024

πŸ˜… haven't read the code, I'll try to do this this weekend.

from dm.

csuzhangxc avatar csuzhangxc commented on August 22, 2024

fixed in #575.

from dm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.