[
https://issues.apache.org/jira/browse/CASSANDRA-11967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348490#comment-15348490
]
Robert Stupp commented on CASSANDRA-11967:
------------------------------------------
Yup - that's right. You need a mapping file like [this
one|https://github.com/snazy/prometheus-metrics-exporter/blob/master/mappings/cassandra-mappings.yaml]
in the {{conf}} directory and add
{{-Dorg.caffinitas.prometheus.config=cassandra-mappings.yaml}}. That helps to
shorten the names that appear e.g. in Grafana and to re-organize the metrics as
you personally prefer and to exclude metrics you don't want (like
{{org.apache.cassandra.metrics.Table.EstimatedPartitionCount}}, which touches
all sstables).
> Export metrics for prometheus in its native format
> --------------------------------------------------
>
> Key: CASSANDRA-11967
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11967
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Priority: Minor
> Fix For: 3.x
>
>
> https://github.com/snazy/prometheus-metrics-exporter allows to export
> codahale metrics for prometheus.io. In order to integrate this, a minor
> change to C* is necessary to load the library.
> This eliminates the need to use the additional graphite-exporter tool and
> therefore also allows prometheus to track the up/down status of C*.
> (Will provide the patch soon)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)