criteo / cassandra_exporter

Apache Cassandra® metrics exporter for Prometheus
Apache License 2.0
171 stars 94 forks source link

Question about Datacenter metrics aggregation #20

Closed allisthere2love closed 6 years ago

allisthere2love commented 6 years ago

Hi, I'm fairly new to the the exporter/prometheus world, looking for an alternative to Opscenter. In Opscenter we can get metrics per IP, or per datacenter, consolidating all the IPs of that DC. Is it something possible with this exporter?

erebe commented 6 years ago

Hello, As you need to run one exporter per cassandra node, you will get all the metrics per IP without further efforts. After this, it is easy to create prometheus query in order to aggregate per DC. You can take a look at the grafana dashboard provided in the repository. All metrics are aggregated by cluster by default, but there are hidden queries in order to drill down by nodes. If you need to aggregate all clusters per DC, it will be possible, you will just need to tweak the queries.

allisthere2love commented 6 years ago

Thank you, I wasn't aware of the 6400 dashboard yet, that's great!