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

@opentelemetry/exporter-trace-otlp-grpc

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.49.1 to 0.50.0

8

build/src/OTLPTraceExporter.d.ts
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base';
import { OTLPGRPCExporterConfigNode, OTLPGRPCExporterNodeBase, ServiceClientType } from '@opentelemetry/otlp-grpc-exporter-base';
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer';
import { OTLPGRPCExporterConfigNode, OTLPGRPCExporterNodeBase } from '@opentelemetry/otlp-grpc-exporter-base';
import { IExportTraceServiceRequest, IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer';
/**
* OTLP Trace Exporter for Node
*/
export declare class OTLPTraceExporter extends OTLPGRPCExporterNodeBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter {
export declare class OTLPTraceExporter extends OTLPGRPCExporterNodeBase<ReadableSpan, IExportTraceServiceRequest, IExportTraceServiceResponse> implements SpanExporter {
constructor(config?: OTLPGRPCExporterConfigNode);
convert(spans: ReadableSpan[]): IExportTraceServiceRequest;
getDefaultUrl(config: OTLPGRPCExporterConfigNode): string;
getServiceClientType(): ServiceClientType;
getServiceProtoPath(): string;
getUrlFromConfig(config: OTLPGRPCExporterConfigNode): string;
}
//# sourceMappingURL=OTLPTraceExporter.d.ts.map

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

const core_1 = require("@opentelemetry/core");
const grpc_js_1 = require("@grpc/grpc-js");
const otlp_grpc_exporter_base_1 = require("@opentelemetry/otlp-grpc-exporter-base");

@@ -33,8 +32,4 @@ const otlp_transformer_1 = require("@opentelemetry/otlp-transformer");

constructor(config = {}) {
super(config);
const headers = Object.assign(Object.assign({}, USER_AGENT), core_1.baggageUtils.parseKeyPairsIntoRecord((0, core_1.getEnv)().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
this.metadata || (this.metadata = new grpc_js_1.Metadata());
for (const [k, v] of Object.entries(headers)) {
this.metadata.set(k, v);
}
const signalSpecificMetadata = Object.assign(Object.assign({}, USER_AGENT), core_1.baggageUtils.parseKeyPairsIntoRecord((0, core_1.getEnv)().OTEL_EXPORTER_OTLP_TRACES_HEADERS));
super(config, signalSpecificMetadata, 'TraceExportService', '/opentelemetry.proto.collector.trace.v1.TraceService/Export', otlp_grpc_exporter_base_1.TraceSerializer);
}

@@ -47,8 +42,2 @@ convert(spans) {

}
getServiceClientType() {
return otlp_grpc_exporter_base_1.ServiceClientType.SPANS;
}
getServiceProtoPath() {
return 'opentelemetry/proto/collector/trace/v1/trace_service.proto';
}
getUrlFromConfig(config) {

@@ -55,0 +44,0 @@ if (typeof config.url === 'string') {

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

export declare const VERSION = "0.49.1";
export declare const VERSION = "0.50.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

"@opentelemetry/api": "1.8.0",
"@opentelemetry/otlp-exporter-base": "0.49.1",
"@opentelemetry/otlp-exporter-base": "0.50.0",
"@types/mocha": "10.0.6",

@@ -73,11 +73,11 @@ "@types/node": "18.6.5",

"@grpc/grpc-js": "^1.7.1",
"@opentelemetry/core": "1.22.0",
"@opentelemetry/otlp-grpc-exporter-base": "0.49.1",
"@opentelemetry/otlp-transformer": "0.49.1",
"@opentelemetry/resources": "1.22.0",
"@opentelemetry/sdk-trace-base": "1.22.0"
"@opentelemetry/core": "1.23.0",
"@opentelemetry/otlp-grpc-exporter-base": "0.50.0",
"@opentelemetry/otlp-transformer": "0.50.0",
"@opentelemetry/resources": "1.23.0",
"@opentelemetry/sdk-trace-base": "1.23.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-grpc",
"sideEffects": false,
"gitHead": "3920b158d08daa776280bde68a79e44bafa4e8ea"
"gitHead": "5231aa255047fbc6ee3d6a299f4423ab2f8a5fbc"
}

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