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-v1-to-v2.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ As of Redis Enterprise Software version 7.8.2, [PromQL (Prometheus Query Languag
27
27
| <spanclass="break-all">bdb_avg_read_latency_max</span></span> | <spanclass="break-all">`sum by (db) (irate(endpoint_acc_read_latency[1m])) / sum by (db) (irate(endpoint_total_started_res[1m])) / 1000000`</span> | Highest value of average latency of read operations (seconds); returned only when there is traffic |
28
28
| <spanclass="break-all">bdb_avg_write_latency</span> | <spanclass="break-all">`sum by (db) (irate(endpoint_acc_write_latency[1m])) / sum by (db) (irate(endpoint_total_started_res[1m])) / 1000000`</span> | Average latency of write operations (seconds); returned only when there is traffic |
29
29
| <spanclass="break-all">bdb_avg_write_latency_max</span> | <spanclass="break-all">`sum by (db) (irate(endpoint_acc_write_latency[1m])) / sum by (db) (irate(endpoint_total_started_res[1m])) / 1000000`</span> | Highest value of average latency of write operations (seconds); returned only when there is traffic |
30
-
| <spanclass="break-all">bdb_bigstore_shard_count</span> | <spanclass="break-all">`sum((sum(label_replace(namedprocess_namegroup_thread_count{threadname=~"(speedb\|rocksdb).*", cluster="$cluster", db="$db"}, "driver", "$1", "threadname", "(speedb\|rocksdb).*")) by (redis, driver) > bool 0)) by (db, driver)`</span> | Shard count by database and by storage engine (driver - rocksdb / speedb); Only for databases with Auto Tiering enabled |
30
+
| <spanclass="break-all">bdb_bigstore_shard_count</span> | <spanclass="break-all">`sum((sum(label_replace(label_replace(namedprocess_namegroup_thread_count{groupname=~"redis-\d+", threadname=~"(speedb\|rocksdb).*"}, "redis", "$1", "groupname", "redis-(\d+)"), "driver", "$1", "threadname", "(speedb\|rocksdb).*")) by (redis, driver) > bool 0) * on (redis) group_left(db) redis_server_up) by (db, driver)`</span> | Shard count by database and by storage engine (driver - rocksdb / speedb); Only for databases with Auto Tiering enabled |
31
31
| <spanclass="break-all">bdb_conns</span> | <spanclass="break-all">`sum by(db) (endpoint_client_connections)`</span> | Number of client connections to database |
32
32
| <spanclass="break-all">bdb_egress_bytes</span> | <spanclass="break-all">`sum by(db) (irate(endpoint_egress_bytes[1m]))`</span> | Rate of outgoing network traffic from the database (bytes/sec) |
33
33
| <spanclass="break-all">bdb_egress_bytes_max</span> | <spanclass="break-all">`sum by(db) (irate(endpoint_egress_bytes[1m]))`</span> | Highest value of the rate of outgoing network traffic from the database (bytes/sec) |
@@ -71,7 +71,7 @@ As of Redis Enterprise Software version 7.8.2, [PromQL (Prometheus Query Languag
71
71
| <spanclass="break-all">bdb_shard_cpu_system_max<span></span> | <spanclass="break-all">`sum by(db) (irate(namedprocess_namegroup_thread_cpu_seconds_total{mode="system", role="master"}[1m]))`</span> | Highest value of % cores utilization in system mode for all Redis shard processes of this database |
72
72
| <spanclass="break-all">bdb_shard_cpu_user</span> | <spanclass="break-all">`sum by(db) (irate(namedprocess_namegroup_thread_cpu_seconds_total{mode="user", role="master"}[1m]))`</span> | % cores utilization in user mode for the Redis shard process |
73
73
| <spanclass="break-all">bdb_shard_cpu_user_max</span> | <spanclass="break-all">`sum by(db) (irate(namedprocess_namegroup_thread_cpu_seconds_total{mode="user", role="master"}[1m]))`</span> | Highest value of % cores utilization in user mode for the Redis shard process |
74
-
| <spanclass="break-all">bdb_shards_used</span> | <spanclass="break-all">`sum((sum(label_replace(label_replace(namedprocess_namegroup_thread_count{cluster="$cluster", db="$db"}, "shard_type", "flash", "threadname", "(bigstore).*"), "shard_type", "ram", "shard_type", "")) by (redis, shard_type) > bool 0)) by (db, shard_type)`</span> | Used shard count by database and by shard type (ram / flash) |
74
+
| <spanclass="break-all">bdb_shards_used</span> | <spanclass="break-all">`sum((sum(label_replace(label_replace(label_replace(namedprocess_namegroup_thread_count{groupname=~"redis-\d+"}, "redis", "$1", "groupname", "redis-(\d+)"), "shard_type", "flash", "threadname", "(bigstore).*"), "shard_type", "ram", "shard_type", "")) by (redis, shard_type) > bool 0) * on (redis) group_left(db) redis_server_up) by (db, shard_type)`</span> | Used shard count by database and by shard type (ram / flash) |
75
75
| <spanclass="break-all">bdb_total_connections_received</span> | <spanclass="break-all">`sum by(db) (irate(endpoint_total_connections_received[1m]))`</span> | Rate of new client connections to database (connections/sec) |
76
76
| <spanclass="break-all">bdb_total_connections_received_max<span></span> | <spanclass="break-all">`sum by(db) (irate(endpoint_total_connections_received[1m]))`</span> | Highest value of the rate of new client connections to database (connections/sec) |
77
77
| <spanclass="break-all">bdb_total_req</span> | <spanclass="break-all">`sum by (db) (irate(endpoint_total_req[1m]))`</span> | Rate of all requests on the database (ops/sec) |
0 commit comments