This repository was archived by the owner on Aug 14, 2024. It is now read-only.
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Add Dynamic Sampling Context + Baggage Spec #611
Closed
Description
In Develop Docs
Write down baggage propagation “spec” to define clear rules of how baggage is created and passed along downstream.
clarify confusion around naming:
- trace context vs baggage
- "propagation mechanism"
- content - what is in it?
- call it dynamic sampling context
- meaning: the key values included in the baggage header
The following list is probably not complete but it should include (writing this down after the meeting on Daily from 18th):
- Check if incoming request has baggage header and parse it to see if there’s sentry- entries in it
- If not, create the baggage content (i.e. the sentry- keys) and propagate it with the outgoing requests
- include the specific contect types (release, environment, user, transaction, usergroup)
- If yes, leave it untouched (don’t add/change stuff) and send it along with the outgoing request
- In any of those two cases, “foreign” baggage entries must be passed along with the next outgoing requests (if they exist)
reference existing docs