Giter Club home page Giter Club logo

Comments (5)

fenio avatar fenio commented on September 21, 2024 1

So in case someone is using victoria-metrics-k8s-stack helm chart to install VictoriaMetrics then its scraping configuration needs to be modified like this to make Coroot happy:

    kube-state-metrics:
      vmServiceScrape:
        spec:
          endpoints:
          - port: http
            honorLabels: true
            metricRelabelConfigs:
              - action: labeldrop
                regex: (container_id|image_id)

https://github.com/fenio/homelab/blob/main/cluster/apps/monitor/victoria-metrics/app/helmrelease.yaml#L69

from coroot.

kirillyu avatar kirillyu commented on September 21, 2024

We use coroot with victoriametrics without problems

from coroot.

fenio avatar fenio commented on September 21, 2024

@kirillyu thanks for reply
Did you have to somehow change VM configuration to make it working with Coroot?
I'm still digging into this and it seems that VM drops some labels that Coroot really would like to see.

E0324 16:20:44.957786 1 k8s.go:90] invalid 'kube_pod_info' metric: 'uid' label is empty

from coroot.

def avatar def commented on September 21, 2024

@fenio Yes, Coroot expects the uid label of thekube_pod_info metric. Additionally, please ensure that the VM has discovered the endpoints of coroot-node-agent and successfully scrapes them.

from coroot.

fenio avatar fenio commented on September 21, 2024

VM discovered these endpoints and it's scrapping them successfully.
But what's the easiest way to force VM to stop dropping that uid label from metrics?
I'm using default scrape_config configuration... do I have to make my own copy of it and remove all labeldrop instances referencing uid? Sounds crazy.

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.