forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/sql: rename metric tracking SQL activity update job failures
The metric used to track failures of the SQL Activity update job didn't have a descriptive name, and the help text was grammatically incorrect. Furthermore, the metric name is the same as a metric used within the job system, meaning one of these metrics is probably clobbering the other when writing to TSDB or outputting to `/_status/vars`. This patch simply updates the metric name to better describe what it measures, and fixes the help text description. Release note (ops change): A new counter metric, `sql.stats.activity.updates.failed`, has been introduced to measure the number of update attempts made by the SQL activity updater job that failed with errors. The SQL activity update job is used to pre-aggregate top K information within the SQL stats subsystem and write the results to `system.statement_activity` and `system.transaction_activity`.
- Loading branch information
1 parent
455cf39
commit 4d41e76
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters