Skip to content

Add Distributed Tracing to Node docs#5705

Merged
AbhiPrasad merged 2 commits intogetsentry:masterfrom
onurtemizkan:node-distributed-tracing-docs
Nov 8, 2022
Merged

Add Distributed Tracing to Node docs#5705
AbhiPrasad merged 2 commits intogetsentry:masterfrom
onurtemizkan:node-distributed-tracing-docs

Conversation

@onurtemizkan
Copy link
Copy Markdown
Collaborator

Potentially Resolves: #5647 (Do we need to open another PR on getsentry/develop?)

Adds basic examples about:

  • How to obtain a trace header from a span using toTraceparent
  • How to use extractTraceparentData to continue upstream service traces.

Also removed the part that mentions continueFromHeaders function (which is not available in sentry-javascript) for JavaScript and Node docs.


As an aside note, Node docs in general seem to need some restructuring, and I just remembered there is unfinished work in #3605.

We previously made a few updates in #3693, which have already crossed out some sub-tasks there.

I'm up to finish that next, if the team agrees.

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 1, 2022

@onurtemizkan is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 1, 2022

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

Name Status Preview Updated
sentry-docs ✅ Ready (Inspect) Visit Preview Nov 2, 2022 at 1:57PM (UTC)

Copy link
Copy Markdown
Contributor

@imatwawana imatwawana left a comment

Choose a reason for hiding this comment

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

Made some tweaks to the original content and one small edit in what you've added.

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
@AbhiPrasad AbhiPrasad merged commit a1cc2c8 into getsentry:master Nov 8, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve docs for extractTraceparentData function

3 participants