Skip to content

Commit

Permalink
test(spans): Add sampling columns temporarily (#77789)
Browse files Browse the repository at this point in the history
- This adds the sampling columns to help explore the extrapolation data
better, We should not use this in the UI and its just for testing

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and roaga committed Sep 20, 2024
1 parent cb9e556 commit a3859f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sentry/utils/snuba.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ def log_snuba_info(content):
# message also maps to span description but gets special handling
# to support wild card searching by default
"message": "name",
# These sample columns are for debugging only and shouldn't be used
"sampling_weight": "sampling_weight",
"sampling_factor": "sampling_factor",
"span.domain": "attr_str[domain]",
"span.group": "attr_str[group]",
"span.op": "attr_str[op]",
Expand Down

0 comments on commit a3859f0

Please sign in to comment.