Skip to content

sql: Add telemetry counters for succeeded, failed, canceled jobs #59711

@vy-ton

Description

@vy-ton

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.

Metadata

Metadata

Assignees

Labels

A-telemetryC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions