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

@opentelemetry/exporter-trace-otlp-proto

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.55.0 to 0.56.0

5

build/esm/platform/browser/OTLPTraceExporter.d.ts
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPExporterConfigBase, OTLPExporterBrowserBase } from '@opentelemetry/otlp-exporter-base';
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
import { OTLPExporterConfigBase, OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
/**
* Collector Trace Exporter for Web
*/
export declare class OTLPTraceExporter extends OTLPExporterBrowserBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPExporterBase<ReadableSpan[]> implements SpanExporter {
constructor(config?: OTLPExporterConfigBase);
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

9

build/esm/platform/browser/OTLPTraceExporter.js

@@ -31,4 +31,5 @@ /*

})();
import { OTLPExporterBrowserBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer';
import { OTLPExporterBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';
import { createLegacyOtlpBrowserExportDelegate } from '@opentelemetry/otlp-exporter-base/browser-http';
var DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';

@@ -42,7 +43,7 @@ /**

if (config === void 0) { config = {}; }
return _super.call(this, config, ProtobufTraceSerializer, { 'Content-Type': 'application/x-protobuf' }, DEFAULT_COLLECTOR_RESOURCE_PATH) || this;
return _super.call(this, createLegacyOtlpBrowserExportDelegate(config, ProtobufTraceSerializer, DEFAULT_COLLECTOR_RESOURCE_PATH, { 'Content-Type': 'application/x-protobuf' })) || this;
}
return OTLPTraceExporter;
}(OTLPExporterBrowserBase));
}(OTLPExporterBase));
export { OTLPTraceExporter };
//# sourceMappingURL=OTLPTraceExporter.js.map
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPExporterNodeConfigBase, OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base';
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
import { OTLPExporterNodeConfigBase, OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
/**
* Collector Trace Exporter for Node with protobuf
*/
export declare class OTLPTraceExporter extends OTLPExporterNodeBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPExporterBase<ReadableSpan[]> implements SpanExporter {
constructor(config?: OTLPExporterNodeConfigBase);
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

@@ -31,19 +31,6 @@ /*

})();
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 { OTLPExporterNodeBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer';
import { OTLPExporterBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';
import { VERSION } from '../../version';
var USER_AGENT = {
'User-Agent': "OTel-OTLP-Exporter-JavaScript/" + VERSION,
};
import { createOtlpHttpExportDelegate, convertLegacyHttpOptions, } from '@opentelemetry/otlp-exporter-base/node-http';
/**

@@ -56,7 +43,10 @@ * Collector Trace Exporter for Node with protobuf

if (config === void 0) { config = {}; }
return _super.call(this, config, ProtobufTraceSerializer, __assign(__assign({}, USER_AGENT), { 'Content-Type': 'application/x-protobuf' }), 'TRACES', 'v1/traces') || this;
return _super.call(this, createOtlpHttpExportDelegate(convertLegacyHttpOptions(config, 'TRACES', 'v1/traces', {
'User-Agent': "OTel-OTLP-Exporter-JavaScript/" + VERSION,
'Content-Type': 'application/x-protobuf',
}), ProtobufTraceSerializer)) || this;
}
return OTLPTraceExporter;
}(OTLPExporterNodeBase));
}(OTLPExporterBase));
export { OTLPTraceExporter };
//# sourceMappingURL=OTLPTraceExporter.js.map

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

export declare const VERSION = "0.55.0";
export declare const VERSION = "0.56.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '0.55.0';
export var VERSION = '0.56.0';
//# sourceMappingURL=version.js.map
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPExporterConfigBase, OTLPExporterBrowserBase } from '@opentelemetry/otlp-exporter-base';
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
import { OTLPExporterConfigBase, OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
/**
* Collector Trace Exporter for Web
*/
export declare class OTLPTraceExporter extends OTLPExporterBrowserBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPExporterBase<ReadableSpan[]> implements SpanExporter {
constructor(config?: OTLPExporterConfigBase);
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

@@ -16,4 +16,5 @@ /*

*/
import { OTLPExporterBrowserBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer';
import { OTLPExporterBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';
import { createLegacyOtlpBrowserExportDelegate } from '@opentelemetry/otlp-exporter-base/browser-http';
const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';

@@ -23,7 +24,7 @@ /**

*/
export class OTLPTraceExporter extends OTLPExporterBrowserBase {
export class OTLPTraceExporter extends OTLPExporterBase {
constructor(config = {}) {
super(config, ProtobufTraceSerializer, { 'Content-Type': 'application/x-protobuf' }, DEFAULT_COLLECTOR_RESOURCE_PATH);
super(createLegacyOtlpBrowserExportDelegate(config, ProtobufTraceSerializer, DEFAULT_COLLECTOR_RESOURCE_PATH, { 'Content-Type': 'application/x-protobuf' }));
}
}
//# sourceMappingURL=OTLPTraceExporter.js.map
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPExporterNodeConfigBase, OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base';
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
import { OTLPExporterNodeConfigBase, OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
/**
* Collector Trace Exporter for Node with protobuf
*/
export declare class OTLPTraceExporter extends OTLPExporterNodeBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPExporterBase<ReadableSpan[]> implements SpanExporter {
constructor(config?: OTLPExporterNodeConfigBase);
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

@@ -16,16 +16,17 @@ /*

*/
import { OTLPExporterNodeBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer';
import { OTLPExporterBase, } from '@opentelemetry/otlp-exporter-base';
import { ProtobufTraceSerializer } from '@opentelemetry/otlp-transformer';
import { VERSION } from '../../version';
const USER_AGENT = {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,
};
import { createOtlpHttpExportDelegate, convertLegacyHttpOptions, } from '@opentelemetry/otlp-exporter-base/node-http';
/**
* Collector Trace Exporter for Node with protobuf
*/
export class OTLPTraceExporter extends OTLPExporterNodeBase {
export class OTLPTraceExporter extends OTLPExporterBase {
constructor(config = {}) {
super(config, ProtobufTraceSerializer, Object.assign(Object.assign({}, USER_AGENT), { 'Content-Type': 'application/x-protobuf' }), 'TRACES', 'v1/traces');
super(createOtlpHttpExportDelegate(convertLegacyHttpOptions(config, 'TRACES', 'v1/traces', {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`,
'Content-Type': 'application/x-protobuf',
}), ProtobufTraceSerializer));
}
}
//# sourceMappingURL=OTLPTraceExporter.js.map

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

export declare const VERSION = "0.55.0";
export declare const VERSION = "0.56.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '0.55.0';
export const VERSION = '0.56.0';
//# sourceMappingURL=version.js.map
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPExporterConfigBase, OTLPExporterBrowserBase } from '@opentelemetry/otlp-exporter-base';
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
import { OTLPExporterConfigBase, OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
/**
* Collector Trace Exporter for Web
*/
export declare class OTLPTraceExporter extends OTLPExporterBrowserBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPExporterBase<ReadableSpan[]> implements SpanExporter {
constructor(config?: OTLPExporterConfigBase);
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

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

const otlp_transformer_1 = require("@opentelemetry/otlp-transformer");
const browser_http_1 = require("@opentelemetry/otlp-exporter-base/browser-http");
const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces';

@@ -26,5 +27,5 @@ /**

*/
class OTLPTraceExporter extends otlp_exporter_base_1.OTLPExporterBrowserBase {
class OTLPTraceExporter extends otlp_exporter_base_1.OTLPExporterBase {
constructor(config = {}) {
super(config, otlp_transformer_1.ProtobufTraceSerializer, { 'Content-Type': 'application/x-protobuf' }, DEFAULT_COLLECTOR_RESOURCE_PATH);
super((0, browser_http_1.createLegacyOtlpBrowserExportDelegate)(config, otlp_transformer_1.ProtobufTraceSerializer, DEFAULT_COLLECTOR_RESOURCE_PATH, { 'Content-Type': 'application/x-protobuf' }));
}

@@ -31,0 +32,0 @@ }

import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPExporterNodeConfigBase, OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base';
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
import { OTLPExporterNodeConfigBase, OTLPExporterBase } from '@opentelemetry/otlp-exporter-base';
/**
* Collector Trace Exporter for Node with protobuf
*/
export declare class OTLPTraceExporter extends OTLPExporterNodeBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPExporterBase<ReadableSpan[]> implements SpanExporter {
constructor(config?: OTLPExporterNodeConfigBase);
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

@@ -22,11 +22,12 @@ "use strict";

const version_1 = require("../../version");
const USER_AGENT = {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${version_1.VERSION}`,
};
const node_http_1 = require("@opentelemetry/otlp-exporter-base/node-http");
/**
* Collector Trace Exporter for Node with protobuf
*/
class OTLPTraceExporter extends otlp_exporter_base_1.OTLPExporterNodeBase {
class OTLPTraceExporter extends otlp_exporter_base_1.OTLPExporterBase {
constructor(config = {}) {
super(config, otlp_transformer_1.ProtobufTraceSerializer, Object.assign(Object.assign({}, USER_AGENT), { 'Content-Type': 'application/x-protobuf' }), 'TRACES', 'v1/traces');
super((0, node_http_1.createOtlpHttpExportDelegate)((0, node_http_1.convertLegacyHttpOptions)(config, 'TRACES', 'v1/traces', {
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${version_1.VERSION}`,
'Content-Type': 'application/x-protobuf',
}), otlp_transformer_1.ProtobufTraceSerializer));
}

@@ -33,0 +34,0 @@ }

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

export declare const VERSION = "0.55.0";
export declare const VERSION = "0.56.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.55.0';
exports.VERSION = '0.56.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/exporter-trace-otlp-proto",
"version": "0.55.0",
"version": "0.56.0",
"description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP",

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

"@opentelemetry/api": "1.9.0",
"@types/mocha": "10.0.9",
"@types/mocha": "10.0.10",
"@types/node": "18.6.5",

@@ -94,11 +94,11 @@ "@types/sinon": "17.0.3",

"dependencies": {
"@opentelemetry/core": "1.28.0",
"@opentelemetry/otlp-exporter-base": "0.55.0",
"@opentelemetry/otlp-transformer": "0.55.0",
"@opentelemetry/resources": "1.28.0",
"@opentelemetry/sdk-trace-base": "1.28.0"
"@opentelemetry/core": "1.29.0",
"@opentelemetry/otlp-exporter-base": "0.56.0",
"@opentelemetry/otlp-transformer": "0.56.0",
"@opentelemetry/resources": "1.29.0",
"@opentelemetry/sdk-trace-base": "1.29.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto",
"sideEffects": false,
"gitHead": "4b1ad3fda0cde58907e30fab25c3c767546708e5"
"gitHead": "85dcbc7c55f002837f1bf1bf01145dbb34a55b40"
}

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

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