Skip to content

Commit 6d5fea5

Browse files
committed
DOC-3944 Feedback updates for v2 metrics
1 parent 424b001 commit 6d5fea5

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

content/integrate/prometheus-with-redis-enterprise/prometheus-metrics-definitions.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Prometheus metrics v2
2+
Title: Prometheus metrics v2 preview
33
alwaysopen: false
44
categories:
55
- docs
@@ -13,10 +13,22 @@ type: integration
1313
weight: 45
1414
---
1515

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+
1620
You can [integrate Redis Enterprise Software with Prometheus and Grafana]({{<relref "/integrate/prometheus-with-redis-enterprise/">}}) to create dashboards for important metrics.
1721

1822
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">}}).
1923

24+
## Database metrics
25+
26+
| V2 metric | Description |
27+
| :-------- | :---------- |
28+
| <span class="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 /><span class="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+
| <span class="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 /><span class="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+
| <span class="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 /><span class="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+
2032
## Node metrics
2133

2234
| V2 metric | Description |
@@ -40,30 +52,17 @@ The v2 metrics in the following tables are available as of Redis Enterprise Soft
4052

4153
## Cluster metrics
4254

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-
4955
| V2 metric | Type | Description |
5056
| :-------- | :--- | :---------- |
5157
| <span class="break-all">generation{cluster_wd=<node_uid>}</span> | gauge| Generation number of the specific cluster_wd|
5258
| <span class="break-all">has_qourum{cluster_wd=<node_uid>, has_witness_disk=BOOL}</span> | gauge| Has_qourum = 1<br />No quorum = 0 |
5359
| <span class="break-all">is_primary{cluster_wd=<node_uid>}</span> | gauge| primary = 1<br />secondary = 0 |
60+
| license_shards_limit | | Total shard limit by the license by shard type (ram / flash) |
5461
| <span class="break-all">total_live_nodes_count{cluster_wd=<node_uid>}</span> | gauge| Number of live nodes|
5562
| <span class="break-all">total_node_count{cluster_wd=<node_uid>}</span> | gauge| Number of nodes |
5663
| <span class="break-all">total_primary_selection_ended{cluster_wd=<node_uid>}</span> | counter | Monotonic counter for each selection process that ended |
5764
| <span class="break-all">total_primary_selections{cluster_wd=<node_uid>}</span> | counter | Monotonic counter for each selection process that started|
5865

59-
## Latency histogram metrics
60-
61-
| V2 metric | Description |
62-
| :-------- | :---------- |
63-
| <span class="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 /><span class="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-
| <span class="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 /><span class="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-
| <span class="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 /><span class="break-all">`histogram_quantile(0.999, sum(rate(endpoint_write_requests_latency_histogram_bucket{cluster="$cluster", db="$db"}[$__rate_interval]) ) by (le, db))`</span> |
66-
6766
## Replication metrics
6867

6968
| V2 metric | Description |

0 commit comments

Comments
 (0)