yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.91k stars 1.06k forks source link

[YSQL] Filter YSQL metrics for operations done on system_platform #11483

Open sushantrmishra opened 2 years ago

sushantrmishra commented 2 years ago

Jira Link: DB-1034

Description

DB test write/read check in Platform -- writes some sample data to the cluster and reads it back periodically, to make sure DB is able to process simple read/write requests and provides success/failure metric.

This is used for alerts (and can use in Cloud to measure cluster “availability”).

One side effect from this check is that our YSQL metrics (latency/operation counts/etc.) became non zero even on idle cluster, which can confuse customer.

Ideally we would like to filter the metrics for YSQL operations for "system_platform" database.

sushantrmishra commented 2 years ago

Closed duplicate issue https://github.com/yugabyte/yugabyte-db/issues/10903