Skip to content

Commit 2ad903b

Browse files
Oberon00Flarna
andauthored
README: Document W3C TC is unsupported for tracing. (#35)
Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>
1 parent b2e6264 commit 2ad903b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ WebApplicationInfo wsInfo = oneAgentSdk.createWebApplicationInfo("WebShopProduct
313313
```
314314

315315
To trace a specific incoming web request you then need to create a Tracer object. Make sure you provide all http headers from the request to the SDK by
316-
calling addRequestHeader(...). This ensures that tagging with our built-in sensor will work.
316+
calling addRequestHeader(...). This ensures that tagging with our built-in sensor will work, but note that only the proprietary x-dynatrace header
317+
will be processed (meaning, W3C trace context is not supported for tracing with the OneAgent SDKs, use OpenTelemetry instead if you require this).
317318

318319
```Java
319320
IncomingWebRequestTracer tracer = oneAgentSdk.traceIncomingWebRequest(wsInfo,"https://www.oursupershop.com/api/service/checkout/save", "POST")

0 commit comments

Comments
 (0)