Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/exporter-jaeger

Package Overview
Dependencies
Maintainers
5
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-jaeger - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

15

build/src/transform.js

@@ -27,4 +27,5 @@ "use strict";

function spanToThrift(span) {
const traceIdHigh = span.spanContext.traceId.slice(0, 16);
const traceIdLow = span.spanContext.traceId.slice(16);
const traceId = span.spanContext.traceId.padStart(32, '0');
const traceIdHigh = traceId.slice(0, 16);
const traceIdLow = traceId.slice(16);
const parentSpan = span.parentSpanId

@@ -47,2 +48,6 @@ ? types_1.Utils.encodeInt64(span.parentSpanId)

}
Object.keys(span.resource.labels).forEach(name => tags.push({
key: name,
value: toTagValue(span.resource.labels[name]),
}));
const spanTags = types_1.ThriftUtils.getThriftTags(tags);

@@ -77,8 +82,8 @@ const logs = span.events.map((event) => {

.map((link) => {
if (link.spanContext.spanId === parentSpanId) {
if (link.context.spanId === parentSpanId) {
const refType = types_1.ThriftReferenceType.CHILD_OF;
const traceId = link.spanContext.traceId;
const traceId = link.context.traceId;
const traceIdHigh = types_1.Utils.encodeInt64(traceId.slice(0, 16));
const traceIdLow = types_1.Utils.encodeInt64(traceId.slice(16));
const spanId = types_1.Utils.encodeInt64(link.spanContext.spanId);
const spanId = types_1.Utils.encodeInt64(link.context.spanId);
return { traceIdLow, traceIdHigh, spanId, refType };

@@ -85,0 +90,0 @@ }

@@ -16,2 +16,2 @@ /*!

*/
export declare const VERSION = "0.4.0";
export declare const VERSION = "0.5.0";

@@ -19,3 +19,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.4.0';
exports.VERSION = '0.5.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/exporter-jaeger",
"version": "0.4.0",
"version": "0.5.0",
"description": "OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger",

@@ -9,11 +9,11 @@ "main": "build/src/index.js",

"scripts": {
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.ts'",
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts'",
"tdd": "npm run test -- --watch-extensions ts --watch",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"lint": "gts check",
"lint:fix": "gts fix",
"precompile": "tsc --version",
"version:update": "node ../../scripts/version-update.js",
"compile": "npm run version:update && tsc -p .",
"fix": "gts fix",
"prepare": "npm run compile"

@@ -44,2 +44,3 @@ },

"devDependencies": {
"@opentelemetry/resources": "^0.5.0",
"@types/mocha": "^5.2.7",

@@ -59,8 +60,8 @@ "@types/node": "^12.6.9",

"dependencies": {
"@opentelemetry/api": "^0.4.0",
"@opentelemetry/base": "^0.4.0",
"@opentelemetry/core": "^0.4.0",
"@opentelemetry/tracing": "^0.4.0",
"@opentelemetry/api": "^0.5.0",
"@opentelemetry/base": "^0.5.0",
"@opentelemetry/core": "^0.5.0",
"@opentelemetry/tracing": "^0.5.0",
"jaeger-client": "^3.15.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc