Giter Site home page Giter Site logo

Comments (4)

geobeau avatar geobeau commented on July 17, 2024

I think you miss Prometheus somewhere. This exporter expose metrics for a Prometheus and then the datasource in grafana is the Prometheus.

from cassandra_exporter.

fhopp avatar fhopp commented on July 17, 2024

Thanks for the prompt response.
The README of this repo did not mention anything of a Prometheus install (unless I missed it), but only stated to run the .jar file. I followed this tutorial to install prometheus, so perhaps you can help/clarify how to integrate the exporter with prometheus?
Thanks much!

from cassandra_exporter.

geobeau avatar geobeau commented on July 17, 2024

I recommend that you try to find a Prometheus workshop to familiarise yourself with how it works (maybe https://github.com/mmedum/prometheus-workshop but I haven't tested it myself)

Edit the prometheus.yaml with this in your case, it should scrape metrics from localhost:8082:

global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.

rule_files:

scrape_configs:
  - job_name: 'cassandra-exporter'

    static_configs:
      - targets: ['localhost:8082']

then in Grafana, add a Prometheus datasource on localhost:9090 (or whatever port your prometheus is running on)

from cassandra_exporter.

fhopp avatar fhopp commented on July 17, 2024

from cassandra_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.