-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: Add telemetry counters for succeeded, failed, canceled jobs #59711
Copy link
Copy link
Closed
Labels
A-telemetryC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
With features telemetry, there are counters for different SQL commands, such as ALTER TABLE or ALTER TABLE...ADD COLUMN. For schema changes, we should add counters for when they succeed, fail, or are canceled.
As a first pass, we can start with a counter per job type - meaning, schema changes / CDC /backup / etc.
Jobs can also have pending, running, or paused statuses. Since those are transient statuses, they are not as important to capture in telemetry data.
Once this is closed, please add a new issue for grouping these telemetry counters by schema change type.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-telemetryC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)