docs icon indicating copy to clipboard operation
docs copied to clipboard

PR #108559 - schematelemetry: emit metrics and logs about invalid objects

Open exalate-issue-sync[bot] opened this issue 2 years ago • 0 comments

Syed Shamim (rafiss) commented:

Related PR: https://github.com/cockroachdb/cockroach/pull/108559

Commit: https://github.com/cockroachdb/cockroach/commit/f6af97a21661502a680f455541f35f0385b6e6c2

Fixes: https://github.com/cockroachdb/cockroach/issues/104266


Release note (ops change): Added a new {{sql.schema.invalid_objects}} gauge metric. This gauge is periodically updated based on the schedule set by the {{sql.schema.telemetry.recurrence}} cluster setting. When it is updated, it counts the number of schema objects (tables, types, schemas, databases, and functions) that are in an invalid state according to CockroachDB’s internal validation checks. This metric is expected to be zero in a healthy cluster, and if it is not, it indicates that there is a problem that must be repaired.

Jira Issue: DOC-8710

exalate-issue-sync[bot] avatar Aug 30 '23 17:08 exalate-issue-sync[bot]