You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -254,8 +269,12 @@ For exporters that run as a separate process there is additional overhead of int
254
269
255
270
The exporter attempts to follow Prometheus' best practices for metric names, labels and data types.
256
271
257
-
Cassandras built-in aggregate metrics, such as the table-related metrics at the keyspace and node level, are skipped.
258
-
Instead only the table-level metrics are exported — aggregates can be computed on-the-fly using PromQL queries or once using Prometheus recording rules.
272
+
Cassandra has keyspace- and node-level metrics that are aggregates of the per-table metrics. By default, only a subset of these
273
+
aggregate metrics, specifically histograms, are exposed by *cassandra-exporter*. All other keyspace- and node-level
274
+
metrics are skipped in favour of only exporting the per-table metrics. The rationale behind this is that apart from the histograms,
275
+
the aggregate metrics are essentially duplicates. If they are needed they may be computed on-the-fly via PromQL or
276
+
once, at scrape time, using Prometheus recording rules.
277
+
259
278
260
279
Unlike the metrics exported via JMX, where each table metric has a unique name, Cassandras metrics are coalesced when appropriate so they share the same exported metric family name, opting for *labels* to differentiate individual time series.
261
280
For example, each table level metric has a constant name and at minimum a `table` & `keyspace` label, which allows for complex PromQL queries.
@@ -297,13 +316,13 @@ Element | Value
297
316
### Global Labels
298
317
299
318
The exporter does attach global labels to the exported metrics.
300
-
These may be configured with the `--global-labels` (or disabled via `--no-global-labels) CLI option.
319
+
These may be configured with the `--global-labels` (or disabled via `--no-global-labels`) CLI option.
301
320
302
321
These labels are:
303
322
304
323
-`cassandra_cluster`
305
324
306
-
The name of the cluster, as specified in cassandra.yaml.
325
+
The name of the cluster, as specified in `cassandra.yaml`.
0 commit comments