@opentelemetry/exporter-trace-otlp-proto
Advanced tools
Comparing version 0.35.1 to 0.36.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
88662
114
0
+ Added@opentelemetry/core@1.10.0(transitive)
+ Added@opentelemetry/otlp-exporter-base@0.36.0(transitive)
+ Added@opentelemetry/otlp-proto-exporter-base@0.36.0(transitive)
+ Added@opentelemetry/otlp-transformer@0.36.0(transitive)
+ Added@opentelemetry/resources@1.10.0(transitive)
+ Added@opentelemetry/sdk-metrics@1.10.0(transitive)
+ Added@opentelemetry/sdk-trace-base@1.10.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.10.0(transitive)
+ Added@types/node@22.5.5(transitive)
- Removed@opentelemetry/core@1.9.1(transitive)
- Removed@opentelemetry/otlp-exporter-base@0.35.1(transitive)
- Removed@opentelemetry/otlp-proto-exporter-base@0.35.1(transitive)
- Removed@opentelemetry/otlp-transformer@0.35.1(transitive)
- Removed@opentelemetry/resources@1.9.1(transitive)
- Removed@opentelemetry/sdk-metrics@1.9.1(transitive)
- Removed@opentelemetry/sdk-trace-base@1.9.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.9.1(transitive)
- Removed@types/node@22.5.4(transitive)
Updated@opentelemetry/core@1.10.0