Skip to content

chore(dynamic-sampling): add hint about conditions in dynamic sampling rules #14303

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

Merged

Conversation

shellmayr
Copy link
Member

@shellmayr shellmayr commented Jul 9, 2025

There is an implementation detail in dynamic sampling rules: a condition needs to be added, otherwise the ruleset is not considered valid. The documentation does not contain any reference to this, and it's frustrating to figure out the correct way of specifying a catch-all yourself, therefore I'm adding this here.

@shellmayr shellmayr requested a review from a team July 9, 2025 14:22
Copy link

vercel bot commented Jul 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2025 2:24pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
sentry-docs ⬜️ Ignored (Inspect) Jul 9, 2025 2:24pm

@@ -52,6 +52,18 @@ An example of rule encoded in JSON is the following:
}
```

<Alert title="✨ Note">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we use emojies like these in our docs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha beautiful catch, i copied this from another page - seems kinda weird. I'll remove it in both places

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh you know what, we actually do have this in many places, now that I searched for it

@shellmayr shellmayr merged commit 504596d into master Jul 9, 2025
12 checks passed
@shellmayr shellmayr deleted the shellmayr/tet-820-update-dynamic-sampling-dev-instructions branch July 9, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants