cockroachdb / cockroachdb/docs

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

Open
#17,790 0 comments 0 reactions 1 assignee Claimed by @rmloveland View on GitHub
Dominant language
HTML
Stars
212
Forks
476
Avg merge
40m
Merged PRs (30d)
3

Description

Syed Shamim (rafiss) commented:

Related PR: [https://github.com/cockroachdb/cockroach/pull/108559](https://github.com/cockroachdb/cockroach/pull/108559)

Commit: [https://github.com/cockroachdb/cockroach/commit/f6af97a21661502a680f455541f35f0385b6e6c2](https://github.com/cockroachdb/cockroach/commit/f6af97a21661502a680f455541f35f0385b6e6c2)

Fixes: [https://github.com/cockroachdb/cockroach/issues/104266](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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.