This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
packages/opencensus-web-instrumentation-zone/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,23 +43,6 @@ export declare interface WindowWithOcwGlobals extends Window {
4343 * Example 'https://my-oc-agent-deployment.com:55678'
4444 */
4545 ocAgent ?: string ;
46- /**
47- * For the initial page load, web browsers do not send any custom headers,
48- * which means that the server will not receive trace context headers.
49- * However, we still want the server side request for the initial page load to
50- * be recorded as a child span of the client side web timing span. So we can
51- * have servers programmatically set a `traceparent` header to give their
52- * request span a parent span ID. That simulated trace context header can then
53- * be sent back to the client as a global variable to use for setting its
54- * trace ID and request load client span ID, as well as for making a sampling
55- * decision.
56- * This header value is in the format of
57- * [version]-[trace ID in hex]-[span ID in hex]-[trace flags]
58- * For example:
59- * 00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01
60- * See https://www.w3.org/TR/trace-context/ for details.
61- */
62- traceparent ?: string ;
6346 /**
6447 * If the `traceparent` global variable described above is not present on the
6548 * `window`, then a trace sampling decision will be made randomly with the
You can’t perform that action at this time.
0 commit comments