Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/embeds/rs-prometheus-metrics-transition-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| <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 |
| <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 |
| <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 |
| <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 |
| <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 |
| <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) |
| <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) |
| <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) |
Expand Down