Skip to content
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

Description

@smeubank

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

#425

#409

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions