Skip to content

ref(scm): Report more granular failure metrics#111722

Merged
cmanallen merged 1 commit intomasterfrom
cmanallen/scm-metrics-update
Mar 27, 2026
Merged

ref(scm): Report more granular failure metrics#111722
cmanallen merged 1 commit intomasterfrom
cmanallen/scm-metrics-update

Conversation

@cmanallen
Copy link
Copy Markdown
Member

No description provided.

@cmanallen cmanallen requested a review from a team as a code owner March 27, 2026 17:07
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 27, 2026
record_count(
"sentry.scm.actions.success_by_provider", 1, {"provider": provider.__class__.__name__}
)
record_count("sentry.scm.actions.success_by_provider", 1, {"provider": provider_name})
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where do these metrics go? would it be better to have a single metric name w/ 2 attributes?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but cardinality comes at a premium and this reduces it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that's why I was wondering where we save these metrics

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see. datadog and sentry.

@cmanallen cmanallen merged commit 7863d2d into master Mar 27, 2026
64 of 65 checks passed
@cmanallen cmanallen deleted the cmanallen/scm-metrics-update branch March 27, 2026 20:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants