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

@opentelemetry/exporter-zipkin

Package Overview
Dependencies
Maintainers
4
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-zipkin - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

2

build/src/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.14.0";
export declare const VERSION = "0.15.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.14.0';
exports.VERSION = '0.15.0';
//# sourceMappingURL=version.js.map

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

exports.ZipkinExporter = void 0;
const api = require("@opentelemetry/api");
const core_1 = require("@opentelemetry/core");

@@ -32,3 +33,3 @@ const index_1 = require("./platform/index");

const urlStr = config.url || ZipkinExporter.DEFAULT_URL;
this._logger = config.logger || new core_1.NoopLogger();
this._logger = config.logger || new api.NoopLogger();
this._send = index_1.prepareSend(this._logger, urlStr, config.headers);

@@ -83,3 +84,5 @@ this._serviceName = config.serviceName;

_sendSpans(spans, serviceName, done) {
const zipkinSpans = spans.map(span => transform_1.toZipkinSpan(span, serviceName, this._statusCodeTagName, this._statusDescriptionTagName));
const zipkinSpans = spans.map(span => transform_1.toZipkinSpan(span, String(span.attributes[resources_1.SERVICE_RESOURCE.NAME] ||
span.resource.attributes[resources_1.SERVICE_RESOURCE.NAME] ||
serviceName), this._statusCodeTagName, this._statusDescriptionTagName));
return this._send(zipkinSpans, (result) => {

@@ -86,0 +89,0 @@ if (done) {

{
"name": "@opentelemetry/exporter-zipkin",
"version": "0.14.0",
"version": "0.15.0",
"description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.",

@@ -13,15 +13,13 @@ "main": "build/src/index.js",

"scripts": {
"clean": "rimraf build/*",
"compile": "tsc --build",
"clean": "tsc --build --clean",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"compile": "npm run version:update && tsc -p .",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"precompile": "tsc --version",
"prepare": "npm run compile",
"tdd": "npm run test -- --watch-extensions ts --watch",
"test": "nyc ts-mocha -p tsconfig.json 'test/**/*.test.ts' --exclude 'test/browser/**/*.ts'",
"test:browser": "nyc karma start --single-run",
"version:update": "node ../../scripts/version-update.js",
"watch": "tsc -w"
"version": "node ../../scripts/version-update.js",
"watch": "tsc --build --watch"
},

@@ -54,4 +52,4 @@ "keywords": [

"@types/mocha": "8.2.0",
"@types/node": "14.14.12",
"@types/sinon": "9.0.9",
"@types/node": "14.14.20",
"@types/sinon": "9.0.10",
"@types/webpack-env": "1.16.0",

@@ -72,18 +70,18 @@ "babel-loader": "8.2.2",

"rimraf": "3.0.2",
"sinon": "9.2.2",
"ts-loader": "8.0.12",
"sinon": "9.2.3",
"ts-loader": "8.0.14",
"ts-mocha": "8.0.0",
"ts-node": "9.1.1",
"typescript": "3.9.7",
"webpack": "4.44.2",
"webpack-cli": "4.2.0",
"webpack-merge": "5.6.1"
"webpack": "4.46.0",
"webpack-cli": "4.3.1",
"webpack-merge": "5.7.3"
},
"dependencies": {
"@opentelemetry/api": "^0.14.0",
"@opentelemetry/core": "^0.14.0",
"@opentelemetry/resources": "^0.14.0",
"@opentelemetry/tracing": "^0.14.0"
"@opentelemetry/api": "^0.15.0",
"@opentelemetry/core": "^0.15.0",
"@opentelemetry/resources": "^0.15.0",
"@opentelemetry/tracing": "^0.15.0"
},
"gitHead": "27a8d4530c56257c191468b073669909bf8892a1"
"gitHead": "960b868f5b7686eabbf49190071b8463551e5d8f"
}

Sorry, the diff of this file is not supported yet

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