Cannot determine that transaction was not sampled because unsampled transaction not set on hub

Created on 15 May 2024, 17 days ago
Updated 20 May 2024, 12 days ago

Problem/Motivation

It seems various Sentry code cannot determine when a transaction is not sampled, because unsampled transactions are not set on the hub.

Steps to reproduce

Look at sentry meta tags on a page when the transaction was not sampled.

Proposed resolution

Various code runs when a span is present on the hub. Instead, that code could run if a span is both present and sampled.

Remaining tasks

Backport to 5.x, 4.x and 3.x

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇺🇸United States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024