question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

W3C distributed tracing-compatible operation id

See original GitHub issue

Currently, ApplicationInsights SDKs support Request-Id header for correlation that looks like |<root-id>.

W3C distributed tracing protocol is going to replace current Request-Id format and is being implemented in ApplicationInsights SDKs.

The first phase of implementing it is a change of the rootId format.

Currently it’s 5 base64 chars, but to enable compatibility with W3C standard, it should be 32 chars [a-z][0-9], lowercase. All zeros is considered invalid. Example of the valid id: 0af7651916cd43dd8448eb211c80319c.

It could be implemented as a lowercase guid without dashes or 16 random bytes encoded into hex string.

The rest: header names and hierarchy in Request-Id could still be preserved (i.e. |0af7651916cd43dd8448eb211c80319c. is a valid Request-Id).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
markwolffcommented, Sep 3, 2019

Added in #973

0reactions
github-actions[bot]commented, Aug 16, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trace Context - W3C
Distributed tracing is a methodology implemented by tracing tools to follow, analyze and debug a transaction across multiple software components ...
Read more >
distributed-tracing-wg/EXPLAINER.md at main · w3c ... - GitHub
A tracing system transmits the trace ID, span ID, and the ID of each span's parent span, if it exists, with each span...
Read more >
Distributed tracing with W3C Trace Context | Dynatrace news
The W3C Trace Context support in Dynatrace helps our customers in ... using the trace ID displayed in the PurePath details of environment...
Read more >
Technical distributed tracing details - New Relic Documentation
How trace context is passed between applications · W3C ( traceparent ): The primary header that identifies the entire trace (trace ID) and...
Read more >
Using W3C Trace Context standard in distributed tracing
traceparent : identifier responsible to describe the incoming request position in its trace graph. · tracestate : extends traceparent with vendor-specific data ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found