Skip to content

bugsnag: propagate cloud_provider into contextual logging for queued executions#268

Open
morgan-wowk wants to merge 1 commit into
bugsnag/service-slicefrom
bugsnag/cloud-provider-context
Open

bugsnag: propagate cloud_provider into contextual logging for queued executions#268
morgan-wowk wants to merge 1 commit into
bugsnag/service-slicefrom
bugsnag/cloud-provider-context

Conversation

@morgan-wowk
Copy link
Copy Markdown
Collaborator

Adds CLOUD_PROVIDER_ANNOTATION_KEY to common_annotations so the annotation
key has a single definition in the OSS layer.

In the queued-execution processing span, reads the cloud_provider value from
task_spec annotations (already in memory) and adds it to the contextual
logging context when present. The existing _before_notify hook then includes
it automatically in the tangle_context tab on every Bugsnag event raised
during that execution's processing.

Copy link
Copy Markdown
Collaborator Author

morgan-wowk commented May 28, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

…executions

Adds CLOUD_PROVIDER_ANNOTATION_KEY to common_annotations so the annotation
key has a single definition in the OSS layer.

In the queued-execution processing span, reads the cloud_provider value from
task_spec annotations (already in memory) and adds it to the contextual
logging context when present. The existing _before_notify hook then includes
it automatically in the tangle_context tab on every Bugsnag event raised
during that execution's processing.
@morgan-wowk morgan-wowk force-pushed the bugsnag/cloud-provider-context branch from 65d8571 to 3bb4cc1 Compare May 28, 2026 22:53
@morgan-wowk morgan-wowk marked this pull request as ready for review May 28, 2026 22:54
@morgan-wowk morgan-wowk requested a review from Ark-kun as a code owner May 28, 2026 22:54
Copy link
Copy Markdown
Collaborator Author

morgan-wowk commented May 28, 2026

CC: @yuechao-qin

This will allow you to filter errors to Nebius or GKE.

@morgan-wowk morgan-wowk requested a review from yuechao-qin May 28, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant