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

Created on 15 May 2024, 12 months ago
Updated 3 June 2024, 11 months 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.71.5 2024