Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Nov 28, 2024
1 parent 5800ce4 commit 0362bd0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file added docs/assets/node-sdk-trace-propagation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions docs/trace-propagation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# How Trace Propagation Works in the JavaScript SDKs

Trace propagation describes how and when traceId & spanId are set and send for various types of events.
How this behaves varies a bit from Browser to Node SDKs.

## Node SDKs (OpenTelemetry based)

In the Node SDK and related OpenTelemetry-based SDKs, trace propagation works as follows:

![node-sdk-trace-propagation-scenarios](./assets/node-sdk-trace-propagation.png)

## Browser/Other SDKs

TODO

0 comments on commit 0362bd0

Please sign in to comment.