Skip to content

Commit ea3c563

Browse files
authored
DOC-5726 RS: Fixed v2 PromQL equivalent for bdb_up metric (#2117)
1 parent 5a628b4 commit ea3c563

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
@@ -59,7 +59,7 @@
5959
| <span class="break-all">bdb_total_req_max</span> | <span class="break-all">`max_over_time(sum by (db) (irate(endpoint_read_requests{db=""$db""}[1m]) + irate(endpoint_write_requests{db=""$db""}[1m]) + irate(endpoint_other_requests{db=""$db""}[1m])) [$__range:])`</span> | Highest value of the rate of all requests on the database (ops/sec) |
6060
| <span class="break-all">bdb_total_res</span> | <span class="break-all">`sum by (db) (irate(endpoint_read_responses{db=""$db""}[1m]) + irate(endpoint_write_responses{db=""$db""}[1m]) + irate(endpoint_other_responses{db=""$db""}[1m]))`</span> | Rate of all responses on the database (ops/sec) |
6161
| <span class="break-all">bdb_total_res_max</span> | <span class="break-all">`max_over_time(sum by (db) (irate(endpoint_read_responses{db=""$db""}[1m]) + irate(endpoint_write_responses{db=""$db""}[1m]) + irate(endpoint_other_responses{db=""$db""}[1m])) [$__range:])`</span> | Highest value of the rate of all responses on the database (ops/sec) |
62-
| <span class="break-all">bdb_up</span> | <span class="break-all">`min by(db) (redis_up)`</span> | Database is up and running |
62+
| <span class="break-all">bdb_up</span> | <span class="break-all">`min by(db) (redis_server_up)`</span> | Database is up and running |
6363
| <span class="break-all">bdb_used_memory</span> | <span class="break-all">`sum by (db) (redis_server_used_memory)`</span> | Memory used by database (in BigRedis this includes flash) (bytes) |
6464
| <span class="break-all">bdb_write_hits</span> | <span class="break-all">`sum by (db) (irate(redis_server_keyspace_write_hits{role="master"}[1m]))`</span> | Rate of write operations accessing an existing key (ops/sec) |
6565
| <span class="break-all">bdb_write_hits_max</span> | <span class="break-all">`sum by (db) (irate(redis_server_keyspace_write_hits{role="master"}[1m]))`</span> | Highest value of the rate of write operations accessing an existing key (ops/sec) |

0 commit comments

Comments
 (0)