Comments (2)
Hello,
I am not part of Criteo (the org owning this repo) anymore, so I don't have more rights than you on this repository at this time : )
So I guess PR is welcome ^^
Regarding the issue, you are right. Once a metric is stored inside the Prometheus registry (the object that contains the metrics internally) is never cleand/diffed with what exist inside cassandra.
https://github.com/criteo/cassandra_exporter/blob/master/src/main/java/com/criteo/nosql/cassandra/exporter/JmxScraper.java#L49
To solve the issue, either we should erase the content of the registry from time ot time somewhere after
https://github.com/criteo/cassandra_exporter/blob/master/src/main/java/com/criteo/nosql/cassandra/exporter/JmxScraper.java#L183
or try to accumulate new metrics in a temporary Prometheus register that we swap with the default one in the end of the run (should be a bit more rewrite)
from cassandra_exporter.
I also have issue with active metrics when they should gone, but with repair treadpool metrics - they stay alive even after repair is done.
cassandra_stats{cluster="Testing Tiles",datacenter="n3-staging",keyspace="",table="",name="org:apache:cassandra:metrics:threadpools:internal:repair#22:activetasks:value",} 1.0
After I restart the exporter its gone
exporter:2.3.5
cassandra:3.11.8
from cassandra_exporter.
Related Issues (20)
- docker entrypoint runs sed on config which is read only
- metrics issue with exporter in Cassandra 4.0 HOT 2
- Password is written to docker container log
- Critical OS vulnerabilites in Docker image
- Log location
- Connection to JMX with SSL enabled is interrupting with NoSuchObjectException: no such object in table HOT 1
- Critical vulnerability in SnakeYaml (CVE-2022-1471)
- Exporter stops with "CollectionUsage threshold is not supported" HOT 1
- Cassandra Exporter from an External Remote Node Connectivity Issue
- java.lang.ClassCastException with Cassandra version 4.1.2
- Connection count metric
- Please support the org.apache.cassandra.net:type=FailureDetector:AllEndpointStates MBean
- Build new image with latest perl-base version HOT 2
- ERROR com.criteo.nosql.cassandra.exporter.JmxScraper - Cannot get value for com.criteo.nosql.cassandra.exporter.JmxScraper$MBeanInfo@35b4d582Value javax.management.AttributeNotFoundException: No such attribute: Value HOT 1
- False positive "Cannot retrieve the datacenter name" with Cassandra v3.11.0 ?
- Encoding errors in Grafana dashboards HOT 1
- How do I get the health of the cluster HOT 1
- Grafana v7.3.7 Integration HOT 4
- Container Security Vulnerabilities Scanned from Cassandra Exporter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra_exporter.