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.19.1-alpha.14 to 0.19.1-alpha.19

8

build/esm/zipkin.js

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

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

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

if (typeof this._serviceName !== 'string') {
this._serviceName = String(spans[0].resource.attributes[SERVICE_RESOURCE.NAME] ||
this._serviceName = String(spans[0].resource.attributes[ResourceAttributes.SERVICE_NAME] ||
this.DEFAULT_SERVICE_NAME);

@@ -106,4 +106,4 @@ }

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

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

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

const transform_1 = require("./transform");
const resources_1 = require("@opentelemetry/resources");
const semantic_conventions_1 = require("@opentelemetry/semantic-conventions");
const utils_1 = require("./utils");

@@ -53,3 +53,3 @@ /**

if (typeof this._serviceName !== 'string') {
this._serviceName = String(spans[0].resource.attributes[resources_1.SERVICE_RESOURCE.NAME] ||
this._serviceName = String(spans[0].resource.attributes[semantic_conventions_1.ResourceAttributes.SERVICE_NAME] ||
this.DEFAULT_SERVICE_NAME);

@@ -102,4 +102,4 @@ }

_sendSpans(spans, serviceName, done) {
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] ||
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] ||
serviceName), this._statusCodeTagName, this._statusDescriptionTagName));

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

{
"name": "@opentelemetry/exporter-zipkin",
"version": "0.19.1-alpha.14+e1e79ef1",
"version": "0.19.1-alpha.19+9ce9eea7",
"description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.",

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

"dependencies": {
"@opentelemetry/core": "^0.19.0",
"@opentelemetry/resources": "^0.19.0",
"@opentelemetry/tracing": "^0.19.1-alpha.14+e1e79ef1"
"@opentelemetry/core": "^0.19.1-alpha.19+9ce9eea7",
"@opentelemetry/resources": "^0.19.1-alpha.19+9ce9eea7",
"@opentelemetry/semantic-conventions": "^0.19.0",
"@opentelemetry/tracing": "^0.19.1-alpha.19+9ce9eea7"
},
"gitHead": "e1e79ef11c3cc190805c3d870cd82060903d6e15"
"gitHead": "9ce9eea7cad32cbc57bd80830f21e4f366ecf929"
}

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