Giter VIP home page Giter VIP logo

Comments (5)

alq666 avatar alq666 commented on August 21, 2024

We stay with the old style of metrics, until 2.x has become the mature version. Then we can decide what to do.

from jmxfetch.

sethrosenblum avatar sethrosenblum commented on August 21, 2024

I investigated this and it's going to require some changes to the way we collect tags from Cassandra. Here's an example bean:

Bean name: org.apache.cassandra.metrics:type=ColumnFamily,keyspace=Intake,scope=api_log,name=PendingTasks - Attribute name: Value - Attribute type: java.lang.Object

The metric that we'd want from this would be along the lines of: cassandra.pending_tasks with tags: keyspace:intake, columnfamily:api_log

But jmxfetch turns this into: cassandra.metrics.value with tags: name:pendingtasks keyspace:intake type:columnfamily scope:api_log

As a result we'd have to add some function for Cassandra metrics (or make the jmx config extensible) to allow the jmx parser to create metric names like cassandra.$name and tags like $type:$scope.

We also wouldn't have good mechanisms for filtering the metrics that are collected, as we can't filter by the name attribute.

The deprecated metrics are going to be dropped in Cassandra 3.0.

from jmxfetch.

remh avatar remh commented on August 21, 2024

could probably be just a new version of https://github.com/DataDog/jmxfetch/blob/master/src/main/java/org/datadog/jmxfetch/reporter/Reporter.java#L105-L107

from jmxfetch.

jippi avatar jippi commented on August 21, 2024

any update on this? Currently the cassandra jmx is more or less broken :(

from jmxfetch.

olivielpeau avatar olivielpeau commented on August 21, 2024

Fixed with #79, closing.

from jmxfetch.

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.