Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.43 KB

server-trace-info.md

File metadata and controls

32 lines (22 loc) · 1.43 KB

The official Splunk documentation for this page is Server trace information. For instructions on how to contribute to the docs, see CONTRIBUTING.md.

Server trace information

🚧  Status: Experimental

Setting SPLUNK_TRACE_RESPONSE_HEADER_ENABLED to true results in the following headers being added to HTTP responses produced by the instrumented application:

Access-Control-Expose-Headers: Server-Timing
Server-Timing: traceparent;desc="00-<serverTraceId>-<serverSpanId>-01"

The Server-Timing header contains the trace information (traceId and spanId) in the traceparent format. This information is later consumed by the splunk-otel-js-web library.

Also see the following documents for more information about Server-Timing header:

Frameworks and libraries

The following server frameworks and libraries add Server-Timing information:

Framework/Library Versions
Servlet API 2.2-4.X (5.0+ is not supported yet)
Netty 3.8+