Socket
Socket
Sign inDemoInstall

@opentelemetry/exporter-trace-otlp-http

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-trace-otlp-http - npm Package Compare versions

Comparing version 0.39.1 to 0.40.0

17

build/esm/platform/node/OTLPTraceExporter.js

@@ -31,2 +31,13 @@ /*

})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import { getEnv, baggageUtils } from '@opentelemetry/core';

@@ -36,4 +47,8 @@ import { OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base';

import { createExportTraceServiceRequest, } from '@opentelemetry/otlp-transformer';
import { VERSION } from '../../version';
var DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';
var DEFAULT_COLLECTOR_URL = "http://localhost:4318/" + DEFAULT_COLLECTOR_RESOURCE_PATH;
var USER_AGENT = {
'User-Agent': "OTel-OTLP-Exporter-JavaScript/" + VERSION,
};
/**

@@ -47,3 +62,3 @@ * Collector Trace Exporter for Node

var _this = _super.call(this, config) || this;
_this.headers = Object.assign(_this.headers, baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
_this.headers = __assign(__assign(__assign({}, _this.headers), USER_AGENT), baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
return _this;

@@ -50,0 +65,0 @@ }

2

build/esm/version.d.ts

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

export declare const VERSION = "0.39.1";
export declare const VERSION = "0.40.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '0.39.1';
export var VERSION = '0.40.0';
//# sourceMappingURL=version.js.map

@@ -20,4 +20,8 @@ /*

import { createExportTraceServiceRequest, } from '@opentelemetry/otlp-transformer';
import { VERSION } from '../../version';
const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';
const DEFAULT_COLLECTOR_URL = `http://localhost:4318/${DEFAULT_COLLECTOR_RESOURCE_PATH}`;
const USER_AGENT = {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,
};
/**

@@ -29,3 +33,3 @@ * Collector Trace Exporter for Node

super(config);
this.headers = Object.assign(this.headers, baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
this.headers = Object.assign(Object.assign(Object.assign({}, this.headers), USER_AGENT), baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
}

@@ -32,0 +36,0 @@ convert(spans) {

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

export declare const VERSION = "0.39.1";
export declare const VERSION = "0.40.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '0.39.1';
export const VERSION = '0.40.0';
//# sourceMappingURL=version.js.map

@@ -23,4 +23,8 @@ "use strict";

const otlp_transformer_1 = require("@opentelemetry/otlp-transformer");
const version_1 = require("../../version");
const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';
const DEFAULT_COLLECTOR_URL = `http://localhost:4318/${DEFAULT_COLLECTOR_RESOURCE_PATH}`;
const USER_AGENT = {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${version_1.VERSION}`,
};
/**

@@ -32,3 +36,3 @@ * Collector Trace Exporter for Node

super(config);
this.headers = Object.assign(this.headers, core_1.baggageUtils.parseKeyPairsIntoRecord((0, core_1.getEnv)().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
this.headers = Object.assign(Object.assign(Object.assign({}, this.headers), USER_AGENT), core_1.baggageUtils.parseKeyPairsIntoRecord((0, core_1.getEnv)().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
}

@@ -35,0 +39,0 @@ convert(spans) {

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

export declare const VERSION = "0.39.1";
export declare const VERSION = "0.40.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.39.1';
exports.VERSION = '0.40.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/exporter-trace-otlp-http",
"version": "0.39.1",
"version": "0.40.0",
"description": "OpenTelemetry Collector Trace Exporter allows user to send collected traces to the OpenTelemetry Collector",

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

"dependencies": {
"@opentelemetry/core": "1.13.0",
"@opentelemetry/otlp-exporter-base": "0.39.1",
"@opentelemetry/otlp-transformer": "0.39.1",
"@opentelemetry/resources": "1.13.0",
"@opentelemetry/sdk-trace-base": "1.13.0"
"@opentelemetry/core": "1.14.0",
"@opentelemetry/otlp-exporter-base": "0.40.0",
"@opentelemetry/otlp-transformer": "0.40.0",
"@opentelemetry/resources": "1.14.0",
"@opentelemetry/sdk-trace-base": "1.14.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-http",
"sideEffects": false,
"gitHead": "bba09c0e5a6d92fc71ed08028966ae9d56da53db"
"gitHead": "edebbcc757535bc88f01340409dbbecc0bb6ccf8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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