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

@opentelemetry/exporter-logs-otlp-proto

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-logs-otlp-proto - npm Package Compare versions

Comparing version 0.47.0 to 0.48.0

17

build/esm/platform/node/OTLPLogExporter.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,2 +47,6 @@ import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, } from '@opentelemetry/otlp-exporter-base';

import { createExportLogsServiceRequest, } from '@opentelemetry/otlp-transformer';
import { VERSION } from '../../version';
var USER_AGENT = {
'User-Agent': "OTel-OTLP-Exporter-JavaScript/" + VERSION,
};
var DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/logs';

@@ -47,3 +62,3 @@ var DEFAULT_COLLECTOR_URL = "http://localhost:4318/" + DEFAULT_COLLECTOR_RESOURCE_PATH;

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

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

2

build/esm/version.d.ts

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

export declare const VERSION = "0.47.0";
export declare const VERSION = "0.48.0";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -20,2 +20,6 @@ /*

import { createExportLogsServiceRequest, } from '@opentelemetry/otlp-transformer';
import { VERSION } from '../../version';
const USER_AGENT = {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,
};
const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/logs';

@@ -29,3 +33,3 @@ const DEFAULT_COLLECTOR_URL = `http://localhost:4318/${DEFAULT_COLLECTOR_RESOURCE_PATH}`;

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

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

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

export declare const VERSION = "0.47.0";
export declare const VERSION = "0.48.0";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -23,2 +23,6 @@ "use strict";

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

@@ -32,3 +36,3 @@ const DEFAULT_COLLECTOR_URL = `http://localhost:4318/${DEFAULT_COLLECTOR_RESOURCE_PATH}`;

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

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

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

export declare const VERSION = "0.47.0";
export declare const VERSION = "0.48.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.47.0';
exports.VERSION = '0.48.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/exporter-logs-otlp-proto",
"version": "0.47.0",
"version": "0.48.0",
"description": "An OTLP exporter to send logs using protobuf over HTTP",

@@ -67,2 +67,3 @@ "main": "build/src/index.js",

"@babel/core": "7.23.6",
"@babel/preset-env": "7.22.20",
"@opentelemetry/api": "1.7.0",

@@ -97,14 +98,14 @@ "@types/mocha": "10.0.6",

"dependencies": {
"@opentelemetry/api-logs": "0.47.0",
"@opentelemetry/core": "1.20.0",
"@opentelemetry/otlp-exporter-base": "0.47.0",
"@opentelemetry/otlp-proto-exporter-base": "0.47.0",
"@opentelemetry/otlp-transformer": "0.47.0",
"@opentelemetry/resources": "1.20.0",
"@opentelemetry/sdk-logs": "0.47.0",
"@opentelemetry/sdk-trace-base": "1.20.0"
"@opentelemetry/api-logs": "0.48.0",
"@opentelemetry/core": "1.21.0",
"@opentelemetry/otlp-exporter-base": "0.48.0",
"@opentelemetry/otlp-proto-exporter-base": "0.48.0",
"@opentelemetry/otlp-transformer": "0.48.0",
"@opentelemetry/resources": "1.21.0",
"@opentelemetry/sdk-logs": "0.48.0",
"@opentelemetry/sdk-trace-base": "1.21.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-logs-otlp-proto",
"sideEffects": false,
"gitHead": "57008533aba7ccd51ea80f38ff4f29404d47eb9c"
"gitHead": "828f2ed730e4d26d71f92e220f96b60a552a673a"
}

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