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
Copy file name to clipboardExpand all lines: content/integrate/prometheus-with-redis-enterprise/prometheus-metrics-definitions.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
Title: Prometheus metrics v2
2
+
Title: Prometheus metrics v2 preview
3
3
alwaysopen: false
4
4
categories:
5
5
- docs
@@ -13,10 +13,22 @@ type: integration
13
13
weight: 45
14
14
---
15
15
16
+
{{<banner-article>}}
17
+
While the metrics stream engine is in preview, this document provides only a partial list of v2 metrics. More metrics will be added.
18
+
{{</banner-article>}}
19
+
16
20
You can [integrate Redis Enterprise Software with Prometheus and Grafana]({{<relref "/integrate/prometheus-with-redis-enterprise/">}}) to create dashboards for important metrics.
17
21
18
22
The v2 metrics in the following tables are available as of Redis Enterprise Software version 7.8.0. For help transitioning from v1 metrics to v2 PromQL, see [Prometheus v1 metrics and equivalent v2 PromQL]({{<relref "/integrate/prometheus-with-redis-enterprise/prometheus-metrics-v1-to-v2">}}).
19
23
24
+
## Database metrics
25
+
26
+
| V2 metric | Description |
27
+
| :-------- | :---------- |
28
+
| <spanclass="break-all">endpoint_other_requests_latency_histogram_bucket</span> | Latency histograms for commands other than read or write commands. Can be used to represent different latency percentiles.<br />p99.9 example:<br /><spanclass="break-all">`histogram_quantile(0.999, sum(rate(endpoint_other_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
29
+
| <spanclass="break-all">endpoint_read_requests_latency_histogram_bucket</span> | Latency histograms for read commands. Can be used to represent different latency percentiles.<br />p99.9 example:<br /><spanclass="break-all">`histogram_quantile(0.999, sum(rate(endpoint_read_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
30
+
| <spanclass="break-all">endpoint_write_requests_latency_histogram_bucket</span> | Latency histograms for write commands. Can be used to represent different latency percentiles.<br />p99.9 example:<br /><spanclass="break-all">`histogram_quantile(0.999, sum(rate(endpoint_write_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
31
+
20
32
## Node metrics
21
33
22
34
| V2 metric | Description |
@@ -40,30 +52,17 @@ The v2 metrics in the following tables are available as of Redis Enterprise Soft
40
52
41
53
## Cluster metrics
42
54
43
-
| V2 metric | Description |
44
-
| :-------- | :---------- |
45
-
| license_shards_limit | Total shard limit by the license by shard type (ram / flash) |
46
-
47
-
## Cluster watchdog metrics
48
-
49
55
| V2 metric | Type | Description |
50
56
| :-------- | :--- | :---------- |
51
57
| <spanclass="break-all">generation{cluster_wd=<node_uid>}</span> | gauge| Generation number of the specific cluster_wd|
| license_shards_limit || Total shard limit by the license by shard type (ram / flash) |
54
61
| <spanclass="break-all">total_live_nodes_count{cluster_wd=<node_uid>}</span> | gauge| Number of live nodes|
55
62
| <spanclass="break-all">total_node_count{cluster_wd=<node_uid>}</span> | gauge| Number of nodes |
56
63
| <spanclass="break-all">total_primary_selection_ended{cluster_wd=<node_uid>}</span> | counter | Monotonic counter for each selection process that ended |
57
64
| <spanclass="break-all">total_primary_selections{cluster_wd=<node_uid>}</span> | counter | Monotonic counter for each selection process that started|
58
65
59
-
## Latency histogram metrics
60
-
61
-
| V2 metric | Description |
62
-
| :-------- | :---------- |
63
-
| <spanclass="break-all">endpoint_other_requests_latency_histogram_bucket</span> | Latency histograms for commands other than read or write commands. Can be used to represent different latency percentiles.<br />p99.9 example:<br /><spanclass="break-all">`histogram_quantile(0.999, sum(rate(endpoint_other_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
64
-
| <spanclass="break-all">endpoint_read_requests_latency_histogram_bucket</span> | Latency histograms for read commands. Can be used to represent different latency percentiles.<br />p99.9 example:<br /><spanclass="break-all">`histogram_quantile(0.999, sum(rate(endpoint_read_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
65
-
| <spanclass="break-all">endpoint_write_requests_latency_histogram_bucket</span> | Latency histograms for write commands. Can be used to represent different latency percentiles.<br />p99.9 example:<br /><spanclass="break-all">`histogram_quantile(0.999, sum(rate(endpoint_write_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
0 commit comments