Giter VIP home page Giter VIP logo

Comments (6)

stefanprodan avatar stefanprodan commented on August 16, 2024

Have you recreated the node-exporter services on those servers? If so delete all node_meta metrics, wait 15s and it should be ok.

from swarmprom.

emma-qi avatar emma-qi commented on August 16, 2024

Yes, I modified the prometheus.yml, add static_config targets, then rebuilt Prometheus image. Use this image in compose file to start Prometheus container. But the node meta data metrics does not matched with node exporter instance correctly, as described above.

from swarmprom.

emma-qi avatar emma-qi commented on August 16, 2024

Sorry, I don't quite understand, what do you mean to "recreate the node-exporter" service?

from swarmprom.

nsaud01 avatar nsaud01 commented on August 16, 2024

I'm having the same issue with node-exporter. The only way I've been able to fix this is by deploying node-exporter using swarm-exec using network host only. Seems that node-exporter collects metrics all over an overlay or bridge network if deployed in swarm mode which has been driving me nuts. Has anyone been able to figure out how to fix this? If it only works utilizing the host network then swarm mode is just not going to work.

from swarmprom.

lcastrooliveira avatar lcastrooliveira commented on August 16, 2024

Yes I'm having trouble with this metric as well. Mine shows two nodes with same id and label and metrics are quite messy

from swarmprom.

hamiltont avatar hamiltont commented on August 16, 2024

Yes I'm having trouble with this metric as well. Mine shows two nodes with same id and label and metrics are quite messy

This might be an 'oops' in the grafana dashboard. It uses a table to show the results, but does not have the "Instant" box checked in the metric query, so it shows the metadata for each node in the cluster, once per 15s resolution, for whatever time range you're looking at in grafana. Check Instant and it will show you the latest values in the timerange you've selected

from swarmprom.

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.