New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/exporter-zipkin

Package Overview
Dependencies
Maintainers
4
Versions
211
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.23.1-alpha.23 to 0.23.1-alpha.24

8

build/esm/zipkin.js

@@ -20,3 +20,3 @@ /*

import { toZipkinSpan, statusCodeTagName, statusDescriptionTagName, } from './transform';
import { ResourceAttributes } from '@opentelemetry/semantic-conventions';
import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions';
import { prepareGetHeaders } from './utils';

@@ -52,3 +52,3 @@ /**

var serviceName = String(this._serviceName ||
spans[0].resource.attributes[ResourceAttributes.SERVICE_NAME] ||
spans[0].resource.attributes[SemanticResourceAttributes.SERVICE_NAME] ||
this.DEFAULT_SERVICE_NAME);

@@ -105,4 +105,4 @@ diag.debug('Zipkin exporter export');

var zipkinSpans = spans.map(function (span) {
return toZipkinSpan(span, String(span.attributes[ResourceAttributes.SERVICE_NAME] ||
span.resource.attributes[ResourceAttributes.SERVICE_NAME] ||
return toZipkinSpan(span, String(span.attributes[SemanticResourceAttributes.SERVICE_NAME] ||
span.resource.attributes[SemanticResourceAttributes.SERVICE_NAME] ||
serviceName), _this._statusCodeTagName, _this._statusDescriptionTagName);

@@ -109,0 +109,0 @@ });

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

const serviceName = String(this._serviceName ||
spans[0].resource.attributes[semantic_conventions_1.ResourceAttributes.SERVICE_NAME] ||
spans[0].resource.attributes[semantic_conventions_1.SemanticResourceAttributes.SERVICE_NAME] ||
this.DEFAULT_SERVICE_NAME);

@@ -100,4 +100,4 @@ api_1.diag.debug('Zipkin exporter export');

_sendSpans(spans, serviceName, done) {
const zipkinSpans = spans.map(span => transform_1.toZipkinSpan(span, String(span.attributes[semantic_conventions_1.ResourceAttributes.SERVICE_NAME] ||
span.resource.attributes[semantic_conventions_1.ResourceAttributes.SERVICE_NAME] ||
const zipkinSpans = spans.map(span => transform_1.toZipkinSpan(span, String(span.attributes[semantic_conventions_1.SemanticResourceAttributes.SERVICE_NAME] ||
span.resource.attributes[semantic_conventions_1.SemanticResourceAttributes.SERVICE_NAME] ||
serviceName), this._statusCodeTagName, this._statusDescriptionTagName));

@@ -104,0 +104,0 @@ this._beforeSend();

{
"name": "@opentelemetry/exporter-zipkin",
"version": "0.23.1-alpha.23+884d20ab",
"version": "0.23.1-alpha.24+3bc34528",
"description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.",

@@ -85,8 +85,8 @@ "main": "build/src/index.js",

"dependencies": {
"@opentelemetry/core": "^0.23.1-alpha.23+884d20ab",
"@opentelemetry/resources": "^0.23.1-alpha.23+884d20ab",
"@opentelemetry/semantic-conventions": "^0.23.1-alpha.23+884d20ab",
"@opentelemetry/tracing": "^0.23.1-alpha.23+884d20ab"
"@opentelemetry/core": "^0.23.1-alpha.24+3bc34528",
"@opentelemetry/resources": "^0.23.1-alpha.24+3bc34528",
"@opentelemetry/semantic-conventions": "^0.23.1-alpha.24+3bc34528",
"@opentelemetry/tracing": "^0.23.1-alpha.24+3bc34528"
},
"gitHead": "884d20ab417bf0283ec84a72b9a0fae8ebcb82a1"
"gitHead": "3bc3452814e30274d7eea1f3c9da968b88b1a197"
}

Sorry, the diff of this file is not supported yet

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