Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tracing): Add transaction source field #5367

Merged
merged 1 commit into from
Jul 6, 2022

Commits on Jul 5, 2022

  1. feat(tracing): Add transaction source field

    This patch adds `source` information to `Transaction`, which is typed by
    `TransactionSource` in `@sentry/tracing`. This helps track how the name
    of a transaction was determined, which will be used by the server for
    server-side controls.
    
    For now, we are placing the `source` field under transaction metadata.
    In the future, we can move this up into a top level API (an argument to
    `startTransaction` or `transaction.setSource`) if needed, but this
    should be fine to get us started.
    
    For next steps, after this patch gets merged, we will start going
    through various routing instrumentation frameworks and adding
    transaction source.
    AbhiPrasad committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    3993935 View commit details
    Browse the repository at this point in the history