![]() OpenSSL requires platform specific libraries. SSL implementation to use for secure communication. ssl=MODE Enable or disable secured communication with SSL. This option may be specified more than once to listen Or PORT will be interpreted as a decimal IPv4 address. Specified, PORT must be prefixed with a colon (':'), The default port 9500 will be substituted When ADDRESS is omitted, 0.0.0.0 (wildcard) ![]() Hostname, IPv4 dotted or decimal address, or IPv6Īddress. no-fast-float Disable the use of fast float -> ascii conversion. no-table-labels Disable all table labels. no-global-labels Disable all global labels. This option may be specified more than once Prefixed with '#' are considered comments and are (sans character) as a path to a file containing IfĮXCLUSION is prefixed with an it is interpreted Of a MBean or a ObjectName pattern that matches (wildcards or patterns not allowed) or the ObjectName Record the cumulative time taken to run each collectorĮxclude a metric family or MBean from exposition.ĮXCLUSION may be the full name of a metric family ![]() node-metrics=FILTER Select which node-level aggregate metrics to expose.Ĭollect per-thread CPU times, where each thread gets its (only histograms & summaries), 'NONE' (no metrics). Valid options are: 'ALL' (all metrics), 'HISTOGRAMS' Select which keyspace-level aggregate metrics to expose. Histograms & summaries), 'NONE' (no metrics). Options are: 'ALL' (all metrics), 'HISTOGRAMS' (only Select which table-level metrics to expose. Theĭefault is to include all table labels. ![]() Tables & views, compaction-related metrics only). Or custom), 'INDEX_CLASS' (the index class name forĬustom indexes), 'COMPACTION_STRATEGY_CLASS' (for Index), 'INDEX_TYPE' (for indexes - keys, composites Valid options are: 'TABLE_TYPE' (table, view or Select which labels to include on table-level metrics. The default is to includeĪll global labels except HOST_ID. 'NODE' (node endpoint IP address), 'DATACENTER' (DC Valid options are: 'CLUSTER' (cluster name), Select which global labels to include on all exported Prometheus ConfigurationĬonfigure Prometheus to scrape the endpoint by adding the following to prometheus.yml: Not available (this feature has yet to be written). The set of metrics available is close to that of the agent - Gossiper related metrics are unavailable as these aren't readily available over JMX.Ĭurrently some additional metadata labels, such as the table type (table, index, view, etc) attached to the cassandra_table_* metrics, are The standalone mode was originally designed to assist with benchmarking and development of the exporter. Prometheus metrics will now be available at In this mode metrics will be queried via JMX which will incur a performance overhead. The exporter can be started via java -jar /path/to/cassandra-exporter-standalone-.jar. While it is preferable to run cassandra-exporter as a Java agent for performance, it can instead be run as an external application if required.ĭownload the latest release and copy cassandra-exporter-standalone-.jar to a location of your choosing. Prometheus metrics will now be available at Standalone JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/cassandra-exporter-agent-.jar" Have been hand-tuned to produce easy-to-query output.įor example, the following PromQL query will return an estimate of the number of pending compactions per-keyspace, per-node. The few that are cached are done so for performance reasons.Ĭassandra-exporter exports metric families, where the names, labels, metric types (gauge, counter, summary, etc), and value scales See the Exported Metrics wiki page for a list of available metrics.Īll but a few select metrics exposed by cassandra-exporter are live with no caching involved. Other solutions can take tens of seconds, during which CPU time is consumed querying JMX and serialising values. Compared to the next-best, jmx_exporter, which completes exposition in ~8 seconds. In a worst-case benchmark, where the Cassandra schema contains 1000+ tables (resulting in ~174 thousand metrics),Ĭassandra-exporter completes exposition in ~140ms. IntroductionĬassandra-exporter enables high performance collection of Cassandra metrics and follows the Prometheus best practices for metrics naming and labeling.Ĭassandra-exporter is fast. Project Status: beta Note - The Cassandra-Exporter tool does not support all versions of Cassandra, see the compatibility section for more details on supported versions. Cassandra-exporter is a Java agent (with optional standalone mode) that exports Cassandra metrics to Prometheus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |