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

Fix trace context propagation #17

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Conversation

eerohele
Copy link
Contributor

@eerohele eerohele commented Nov 26, 2024

Korjataan trace context headereiden propagoituminen alavirtaan. Edellinen versio asetti :traceparent-avaimen arvon kaikkien trace context headereiden arvoksi (ml. tracestate). Tämä esti tracestate:n arvon propagoitumisen kutsuvasta järjestelmästä alavirran järjestelmiin.

Päivitetään samalla riippuvuudet ja korjataan epäyhteensopivuus ELK 8.x:n kanssa (merkkijono on ainoa sallittu tyyppi labeleiden arvolle).

The same as in test & production.
This is technically a breaking change, but since it's a change in APM
itself, there's nothing we can do to avoid it.
Prior to this commit, the `start-transaction` function used the value of
the `:traceparent` option as the value of every trace context header,
including `tracestate`. As a result, clojure-elastic-apm did not
propagate e.g. the sample rate configured in the upstream system to
downstream systems.
Copy link
Contributor

@jmtsi jmtsi left a comment

Choose a reason for hiding this comment

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

💎

@AriPaaWun AriPaaWun merged commit a949205 into master Nov 26, 2024
1 check passed
@AriPaaWun AriPaaWun deleted the fix-trace-context-propagation branch November 26, 2024 11:07
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.

3 participants