@opentelemetry/exporter-jaeger
Advanced tools
Comparing version 0.19.1-alpha.39 to 0.19.1-alpha.41
@@ -28,3 +28,3 @@ "use strict"; | ||
function spanToThrift(span) { | ||
const traceId = span.spanContext.traceId.padStart(32, '0'); | ||
const traceId = span.spanContext().traceId.padStart(32, '0'); | ||
const traceIdHigh = traceId.slice(0, 16); | ||
@@ -80,7 +80,7 @@ const traceIdLow = traceId.slice(16); | ||
traceIdHigh: types_1.Utils.encodeInt64(traceIdHigh), | ||
spanId: types_1.Utils.encodeInt64(span.spanContext.spanId), | ||
spanId: types_1.Utils.encodeInt64(span.spanContext().spanId), | ||
parentSpanId: parentSpan, | ||
operationName: span.name, | ||
references: spanLinksToThriftRefs(span.links, span.parentSpanId), | ||
flags: span.spanContext.traceFlags || DEFAULT_FLAGS, | ||
flags: span.spanContext().traceFlags || DEFAULT_FLAGS, | ||
startTime: types_1.Utils.encodeInt64(core_1.hrTimeToMicroseconds(span.startTime)), | ||
@@ -87,0 +87,0 @@ duration: types_1.Utils.encodeInt64(core_1.hrTimeToMicroseconds(span.duration)), |
@@ -21,2 +21,3 @@ "use strict"; | ||
// udp_sender, util etc. modules. | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
exports.UDPSender = require('jaeger-client/dist/src/reporters/udp_sender') | ||
@@ -23,0 +24,0 @@ .default; |
{ | ||
"name": "@opentelemetry/exporter-jaeger", | ||
"version": "0.19.1-alpha.39+23ba4bfd", | ||
"version": "0.19.1-alpha.41+7fa4ff70", | ||
"description": "OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger", | ||
@@ -43,9 +43,8 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@opentelemetry/api": "^1.0.0-rc.0", | ||
"@opentelemetry/resources": "^0.19.1-alpha.39+23ba4bfd", | ||
"@opentelemetry/api": "^0.20.0", | ||
"@opentelemetry/resources": "^0.19.0", | ||
"@types/mocha": "8.2.2", | ||
"@types/node": "14.14.41", | ||
"@types/node": "14.14.43", | ||
"@types/sinon": "9.0.11", | ||
"codecov": "3.8.1", | ||
"gts": "3.1.0", | ||
"mocha": "7.2.0", | ||
@@ -61,10 +60,10 @@ "nock": "12.0.3", | ||
"peerDependencies": { | ||
"@opentelemetry/api": "^1.0.0-rc.0" | ||
"@opentelemetry/api": "^0.20.0" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/core": "^0.19.1-alpha.39+23ba4bfd", | ||
"@opentelemetry/tracing": "^0.19.1-alpha.39+23ba4bfd", | ||
"@opentelemetry/core": "^0.19.0", | ||
"@opentelemetry/tracing": "^0.19.1-alpha.41+7fa4ff70", | ||
"jaeger-client": "^3.15.0" | ||
}, | ||
"gitHead": "23ba4bfdc77c8bf594bf0c817320a31f59ca0bd4" | ||
"gitHead": "7fa4ff70d1aad5875cb14c6bff99c838228447bb" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
44850
14
450
- Removed@opentelemetry/core@0.19.1-alpha.43(transitive)
- Removed@opentelemetry/semantic-conventions@0.19.1-alpha.43(transitive)
Updated@opentelemetry/core@^0.19.0