Skip to content

Commit 418b54f

Browse files
Update rs-prometheus-metrics-transition-plan.md (#2227)
update bdb conns
1 parent 5411a4c commit 418b54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/embeds/rs-prometheus-metrics-transition-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| <span class="break-all">bdb_avg_write_latency</span> | <span class="break-all">`(sum(irate(endpoint_write_requests_latency_histogram_sum{db=""$db""}[1m]))/sum(irate(endpoint_write_requests{db=""$db""}[1m])))/1000000`</span> | Average latency of write operations (seconds); returned only when there is traffic |
1010
| <span class="break-all">bdb_avg_write_latency_max</span> | <span class="break-all">`histogram_quantile(1, sum by (le) (irate(endpoint_write_requests_latency_histogram_bucket{db=""$db""}[1m]))) / 1000000`</span> | Highest value of average latency of write operations (seconds); returned only when there is traffic |
1111
| <span class="break-all">bdb_bigstore_shard_count</span> | <span class="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 |
12-
| <span class="break-all">bdb_conns</span> | <span class="break-all">`sum by (db) (endpoint_client_connections{cluster=""$cluster"", db=""$db""} - endpoint_client_disconnections{cluster=""$cluster"", db=""$db""})`</span> | Number of client connections to database |
12+
| <span class="break-all">bdb_conns</span> | <span class="break-all">`sum(endpoint_client_connections{cluster="$cluster", db="$db"} - endpoint_client_disconnections{cluster="$cluster", db="$db"} - endpoint_proxy_disconnections{cluster="$cluster", db="$db"})`</span> | Number of client connections to database |
1313
| <span class="break-all">bdb_egress_bytes</span> | <span class="break-all">`sum by(db) (irate(endpoint_egress{db="$db"}[1m]))`</span> | Rate of outgoing network traffic from the database (bytes/sec) |
1414
| <span class="break-all">bdb_egress_bytes_max</span> | <span class="break-all">`max_over_time (sum by(db) (irate(endpoint_egress{db="$db"}[1m]))[$__range:])`</span> | Highest value of the rate of outgoing network traffic from the database (bytes/sec) |
1515
| <span class="break-all">bdb_evicted_objects</span> | <span class="break-all">`sum by (db) (irate(redis_server_evicted_keys{role="master"}[1m]))`</span> | Rate of key evictions from database (evictions/sec) |

0 commit comments

Comments
 (0)