Giter Club home page Giter Club logo

Comments (11)

apetruhin avatar apetruhin commented on May 14, 2024

@tripitakav

  • Which Coroot and coroot-node-agent versions are you using?
  • Are there any errors in the logs?

from coroot.

tripitakav avatar tripitakav commented on May 14, 2024

@tripitakav

  • Which Coroot and coroot-node-agent versions are you using?
  • Are there any errors in the logs?
  1. Coroot: v0.16.2 Node-agent:v1.7.6

image
image
There are no errors in the logs

from coroot.

apetruhin avatar apetruhin commented on May 14, 2024

Can you please share the output of the following Prometheus query?

node_info

from coroot.

tripitakav avatar tripitakav commented on May 14, 2024

Can you please share the output of the following Prometheus query?

node_info

image

from coroot.

apetruhin avatar apetruhin commented on May 14, 2024

We suspect that there are some issues with the way metrics are being relabeled, such as incorrect or missing labels.

Is this the right data source? The number of nodes doesn't match:

image

versus

image

from coroot.

tripitakav avatar tripitakav commented on May 14, 2024

I also think it should be due to incorrect or missing labels, because I deployed Coroot two months ago and everything was normal at that time. Then I deleted the namespace, and recently I had this issue when I was redeploying to demonstrate to the leader。

The data source is right,I'm just checking for node_info when selecting the metric, I chose staging-eks because the labels for both staging-eks and prod-hk metric are similar. Because I have deleted the prod-hk metric, only staging-eks have

from coroot.

apetruhin avatar apetruhin commented on May 14, 2024

@tripitakav
Let's check some other metric labels. One or two samples of each query will be enough:

  1. kube_node_info
  2. kube_pod_info
  3. container_info

from coroot.

apetruhin avatar apetruhin commented on May 14, 2024

@tripitakav
We guess that the metrics from kube-state-metrics (e.g., kube_pod_info, kube_pod_labels) no longer include the uid label after the relabeling process. Coroot needs this label to load application instances.

from coroot.

tripitakav avatar tripitakav commented on May 14, 2024

@tripitakav Let's check some other metric labels. One or two samples of each query will be enough:

  1. kube_node_info
  2. kube_pod_info
  3. container_info

image
2.
image
3.
image

from coroot.

tripitakav avatar tripitakav commented on May 14, 2024

@tripitakav We guess that the metrics from kube-state-metrics (e.g., kube_pod_info, kube_pod_labels) no longer include the uid label after the relabeling process. Coroot needs this label load application instances.

Yes,it don't has label include uid

from coroot.

apetruhin avatar apetruhin commented on May 14, 2024

Consider removing the rule that drops the uid label.

from coroot.

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.