Giter Club home page Giter Club logo

Comments (6)

boazjohn avatar boazjohn commented on May 24, 2024

Found a fix for this. Made changes similar to this:
https://github.com/kubernetes/kube-state-metrics/pull/194/files#diff-1c14cc7ce5782cee84227eef5b3358f6

This is working now by removing checkMetricConsistency

from influxdb_exporter.

matthiasr avatar matthiasr commented on May 24, 2024

Yes, this can happen if the same metric is submitted with different label sets. Is this something that happens persistently? Could it be avoided by coupling the exporter lifetime to the lifetime of the source (e.g. in Kubernetes, I would run them in one pod)? That's generally the best way to run exporters and avoids issues if you add or remove a label in your code.

from influxdb_exporter.

matthiasr avatar matthiasr commented on May 24, 2024

I labeled this "enhancement" because I don't think the current behavior is a bug per se. Whether we should support this use case is still to be discussed.

from influxdb_exporter.

boazjohn avatar boazjohn commented on May 24, 2024

I had a use-case where I was trying to export data from some legacy influxdb systems into prometheus. Would be hard to change the configs elsewhere.

from influxdb_exporter.

lukasmrtvy avatar lukasmrtvy commented on May 24, 2024

I have a same problem:

An error has occurred during metrics gathering:

collected metric system_uptime label:<name:"host" value:"proxmox" > label:<name:"object" value:"nodes" > untyped:<value:1.280685e+07 >  has label dimensions inconsistent with previously collected metrics in the same metric family

Metrics are sent from Proxmox:
https://pve.proxmox.com/wiki/External_Metric_Server

from influxdb_exporter.

matthiasr avatar matthiasr commented on May 24, 2024

I'm going to close this because of age. We've updated the Prometheus client library since then, which changes some behaviors. In general I'm okay with being relaxed about label dimensions.

from influxdb_exporter.

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.