@yotamloe/instrumentation-document-load
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -105,13 +105,2 @@ /* | ||
var traceparent = (metaElement && metaElement.content) || traceParentFromCookie || ''; | ||
console.log("meta"); | ||
console.log(metaElement); | ||
console.log("content"); | ||
// @ts-ignore | ||
console.log(metaElement.content); | ||
console.log(traceparent); | ||
// console.log("(metaElement && metaElement.content)") | ||
// console.log(traceparent) | ||
// traceparent = parsedCookie.traceparent || '' | ||
// console.log( traceparent ) | ||
console.log({ traceparent: traceparent }); | ||
context.with(propagation.extract(ROOT_CONTEXT, { traceparent: traceparent }), function () { | ||
@@ -118,0 +107,0 @@ var rootSpan = _this._startSpan(AttributeNames.DOCUMENT_LOAD, PTN.FETCH_START, entries); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.3.0"; | ||
export declare const VERSION = "0.4.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.3.0'; | ||
export var VERSION = '0.4.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -85,13 +85,2 @@ "use strict"; | ||
const traceparent = (metaElement && metaElement.content) || traceParentFromCookie || ''; | ||
console.log("meta"); | ||
console.log(metaElement); | ||
console.log("content"); | ||
// @ts-ignore | ||
console.log(metaElement.content); | ||
console.log(traceparent); | ||
// console.log("(metaElement && metaElement.content)") | ||
// console.log(traceparent) | ||
// traceparent = parsedCookie.traceparent || '' | ||
// console.log( traceparent ) | ||
console.log({ traceparent }); | ||
api_1.context.with(api_1.propagation.extract(api_1.ROOT_CONTEXT, { traceparent }), () => { | ||
@@ -98,0 +87,0 @@ const rootSpan = this._startSpan(AttributeNames_1.AttributeNames.DOCUMENT_LOAD, sdk_trace_web_1.PerformanceTimingNames.FETCH_START, entries); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.3.0"; | ||
export declare const VERSION = "0.4.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.3.0'; | ||
exports.VERSION = '0.4.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@yotamloe/instrumentation-document-load", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Fork of OpenTelemetry document-load automatic instrumentation package.", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
74690
868