Skip to content

temp(assets-controller): sentry subspan tracing decorators. - #9689

Draft
Prithpal-Sooriya wants to merge 1 commit into
mainfrom
TEMP/assets-controller-span-tracing-decorators
Draft

temp(assets-controller): sentry subspan tracing decorators.#9689
Prithpal-Sooriya wants to merge 1 commit into
mainfrom
TEMP/assets-controller-span-tracing-decorators

Conversation

@Prithpal-Sooriya

Copy link
Copy Markdown
Contributor

Explanation

  • Nested Sentry spans for asset fetching under a single root span per pipeline, reducing transaction count.
  • Updated AssetsFullFetch, AssetsControllerFirstInitFetch, and related spans to be subspans of AssetsFetchPipeline and AssetsBackgroundFetch.
  • Adjusted AssetsFullFetch.duration_ms to measure middleware execution only.
  • Implemented best-effort tracing for rejected promises in asset updates, ensuring underlying work still executes.
  • Added tests to verify new tracing behavior and ensure correct span nesting.

This change improves performance monitoring and error handling in asset management workflows.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

…pdate pipelines

- Nested Sentry spans for asset fetching under a single root span per pipeline, reducing transaction count.
- Updated `AssetsFullFetch`, `AssetsControllerFirstInitFetch`, and related spans to be subspans of `AssetsFetchPipeline` and `AssetsBackgroundFetch`.
- Adjusted `AssetsFullFetch.duration_ms` to measure middleware execution only.
- Implemented best-effort tracing for rejected promises in asset updates, ensuring underlying work still executes.
- Added tests to verify new tracing behavior and ensure correct span nesting.

This change improves performance monitoring and error handling in asset management workflows.
@Prithpal-Sooriya Prithpal-Sooriya changed the title feat(assets-controller): sentry subspan tracing decorators. temp(assets-controller): sentry subspan tracing decorators. Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant