Repository navigation
feat(hybridcloud): Tag webhook delivery time by provider - #121636
Merged
Merged
Conversation
The delivery latency charts can be filtered by cell and by GitHub event, but not by provider, so a latency regression isolated to one integration is only visible once it moves the aggregate. The other delivery metrics gained a provider tag in #121609; this closes the gap for delivery_time_ms. Unlike the metrics in that PR, this one needs no Datadog tag configuration change: delivery_time_ms indexes tags by exclusion, so provider is queryable as soon as it is emitted.
markstory
approved these changes
Aug 10, 2026
3 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
hybridcloud.deliver_webhooks.delivery_time_msis tagged withregion_sent_toand, for GitHub,github_event_and_action— but notprovider. A latency regression confined to one integration is invisible until it is large enough to move the aggregate, and the$providerselector on the Hybrid Cloud Webhook Forwarding dashboard cannot reach the latency charts at all.#121609 added a
providertag to everydelivery,failure,savedandpush_trigger.*emission.delivery_time_mswas left out because it is emitted from a different helper; this closes that gap.Change
_record_delivery_time_metricsnow includesprovidervia the existing_provider_taghelper, so payloads predating the nullableprovidercolumn reportunknownrather than dropping the tag.The three existing
DeliveryTimeMetricsTestcases already cover the branches that matter, so they gained assertions instead of new tests: a payload with no provider (unknown), a GitHub payload (github), and a non-GitHub payload (stripe).No Datadog config needed
The metrics in #121609 sit behind an allowlist tag configuration that has to be widened before
providerbecomes queryable.delivery_time_msconfigures tags by exclusion — only infra tags are stripped — soprovideris queryable as soon as it is emitted.