Socket
Socket
Sign inDemoInstall

@opentelemetry/exporter-trace-otlp-proto

Package Overview
Dependencies
Maintainers
2
Versions
38
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.35.1 to 0.36.0

2

build/esm/version.d.ts

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

export declare const VERSION = "0.35.1";
export declare const VERSION = "0.36.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

export declare const VERSION = "0.35.1";
export declare const VERSION = "0.36.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

export declare const VERSION = "0.35.1";
export declare const VERSION = "0.36.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/api": "1.4.1",
"@types/mocha": "10.0.0",

@@ -85,12 +85,12 @@ "@types/node": "18.6.5",

"dependencies": {
"@opentelemetry/core": "1.9.1",
"@opentelemetry/otlp-exporter-base": "0.35.1",
"@opentelemetry/otlp-proto-exporter-base": "0.35.1",
"@opentelemetry/otlp-transformer": "0.35.1",
"@opentelemetry/resources": "1.9.1",
"@opentelemetry/sdk-trace-base": "1.9.1"
"@opentelemetry/core": "1.10.0",
"@opentelemetry/otlp-exporter-base": "0.36.0",
"@opentelemetry/otlp-proto-exporter-base": "0.36.0",
"@opentelemetry/otlp-transformer": "0.36.0",
"@opentelemetry/resources": "1.10.0",
"@opentelemetry/sdk-trace-base": "1.10.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto",
"sideEffects": false,
"gitHead": "279458e7ddf16f7ddca5fe60c78672e05fafce66"
"gitHead": "56e6b1bb890f844b8963a146780d0b9cfa8abd0d"
}

@@ -75,2 +75,17 @@ # OpenTelemetry Collector Exporter for node with protobuf

## OTLP Exporter Retry
OTLP requires that transient errors be handled with a [retry strategy](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#retry).
This retry policy has the following configuration, which there is currently no way to customize.
+ `DEFAULT_EXPORT_MAX_ATTEMPTS`: The maximum number of attempts, including the original request. Defaults to 5.
+ `DEFAULT_EXPORT_INITIAL_BACKOFF`: The initial backoff duration. Defaults to 1 second.
+ `DEFAULT_EXPORT_MAX_BACKOFF`: The maximum backoff duration. Defaults to 5 seconds.
+ `DEFAULT_EXPORT_BACKOFF_MULTIPLIER`: The backoff multiplier. Defaults to 1.5.
This retry policy first checks if the response has a `'Retry-After'` header. If there is a `'Retry-After'` header, the exporter will wait the amount specified in the `'Retry-After'` header before retrying. If there is no `'Retry-After'` header, the exporter will use an exponential backoff with jitter retry strategy.
> The exporter will retry exporting within the [exporter timeout configuration](#Exporter-Timeout-Configuration) time.
## Running opentelemetry-collector locally to see the traces

@@ -77,0 +92,0 @@

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