@opentelemetry/exporter-trace-otlp-proto
Advanced tools
Comparing version 0.51.1 to 0.52.0
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; | ||
import { OTLPExporterConfigBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterBrowserBase, ServiceClientType } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; | ||
import { OTLPExporterConfigBase, OTLPExporterBrowserBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer'; | ||
/** | ||
* Collector Trace Exporter for Web | ||
*/ | ||
export declare class OTLPTraceExporter extends OTLPProtoExporterBrowserBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter { | ||
export declare class OTLPTraceExporter extends OTLPExporterBrowserBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter { | ||
constructor(config?: OTLPExporterConfigBase); | ||
convert(spans: ReadableSpan[]): IExportTraceServiceRequest; | ||
getDefaultUrl(config: OTLPExporterConfigBase): string; | ||
getServiceClientType(): ServiceClientType; | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.d.ts.map |
@@ -32,5 +32,4 @@ /* | ||
import { getEnv, baggageUtils } from '@opentelemetry/core'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterBrowserBase, ServiceClientType, } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { createExportTraceServiceRequest, } from '@opentelemetry/otlp-transformer'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, OTLPExporterBrowserBase, } from '@opentelemetry/otlp-exporter-base'; | ||
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer'; | ||
var DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces'; | ||
@@ -45,9 +44,6 @@ var DEFAULT_COLLECTOR_URL = "http://localhost:4318/" + DEFAULT_COLLECTOR_RESOURCE_PATH; | ||
if (config === void 0) { config = {}; } | ||
var _this = _super.call(this, config) || this; | ||
var _this = _super.call(this, config, ProtobufTraceSerializer, 'application/x-protobuf') || this; | ||
_this._headers = Object.assign(_this._headers, baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS)); | ||
return _this; | ||
} | ||
OTLPTraceExporter.prototype.convert = function (spans) { | ||
return createExportTraceServiceRequest(spans); | ||
}; | ||
OTLPTraceExporter.prototype.getDefaultUrl = function (config) { | ||
@@ -62,8 +58,5 @@ return typeof config.url === 'string' | ||
}; | ||
OTLPTraceExporter.prototype.getServiceClientType = function () { | ||
return ServiceClientType.SPANS; | ||
}; | ||
return OTLPTraceExporter; | ||
}(OTLPProtoExporterBrowserBase)); | ||
}(OTLPExporterBrowserBase)); | ||
export { OTLPTraceExporter }; | ||
//# sourceMappingURL=OTLPTraceExporter.js.map |
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; | ||
import { OTLPExporterNodeConfigBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterNodeBase, ServiceClientType } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; | ||
import { OTLPExporterNodeConfigBase, OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer'; | ||
/** | ||
* Collector Trace Exporter for Node with protobuf | ||
*/ | ||
export declare class OTLPTraceExporter extends OTLPProtoExporterNodeBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter { | ||
export declare class OTLPTraceExporter extends OTLPExporterNodeBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter { | ||
constructor(config?: OTLPExporterNodeConfigBase); | ||
convert(spans: ReadableSpan[]): IExportTraceServiceRequest; | ||
getDefaultUrl(config: OTLPExporterNodeConfigBase): string; | ||
getServiceClientType(): ServiceClientType; | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.d.ts.map |
@@ -43,5 +43,4 @@ /* | ||
import { getEnv, baggageUtils } from '@opentelemetry/core'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, parseHeaders, } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterNodeBase, ServiceClientType, } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { createExportTraceServiceRequest, } from '@opentelemetry/otlp-transformer'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, OTLPExporterNodeBase, parseHeaders, } from '@opentelemetry/otlp-exporter-base'; | ||
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer'; | ||
import { VERSION } from '../../version'; | ||
@@ -60,9 +59,6 @@ var DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces'; | ||
if (config === void 0) { config = {}; } | ||
var _this = _super.call(this, config) || this; | ||
var _this = _super.call(this, config, ProtobufTraceSerializer, 'application/x-protobuf') || this; | ||
_this.headers = __assign(__assign(__assign(__assign({}, _this.headers), USER_AGENT), baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS)), parseHeaders(config === null || config === void 0 ? void 0 : config.headers)); | ||
return _this; | ||
} | ||
OTLPTraceExporter.prototype.convert = function (spans) { | ||
return createExportTraceServiceRequest(spans); | ||
}; | ||
OTLPTraceExporter.prototype.getDefaultUrl = function (config) { | ||
@@ -77,8 +73,5 @@ return typeof config.url === 'string' | ||
}; | ||
OTLPTraceExporter.prototype.getServiceClientType = function () { | ||
return ServiceClientType.SPANS; | ||
}; | ||
return OTLPTraceExporter; | ||
}(OTLPProtoExporterNodeBase)); | ||
}(OTLPExporterNodeBase)); | ||
export { OTLPTraceExporter }; | ||
//# sourceMappingURL=OTLPTraceExporter.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.51.1"; | ||
export declare const VERSION = "0.52.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.51.1'; | ||
export var VERSION = '0.52.0'; | ||
//# sourceMappingURL=version.js.map |
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; | ||
import { OTLPExporterConfigBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterBrowserBase, ServiceClientType } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; | ||
import { OTLPExporterConfigBase, OTLPExporterBrowserBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer'; | ||
/** | ||
* Collector Trace Exporter for Web | ||
*/ | ||
export declare class OTLPTraceExporter extends OTLPProtoExporterBrowserBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter { | ||
export declare class OTLPTraceExporter extends OTLPExporterBrowserBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter { | ||
constructor(config?: OTLPExporterConfigBase); | ||
convert(spans: ReadableSpan[]): IExportTraceServiceRequest; | ||
getDefaultUrl(config: OTLPExporterConfigBase): string; | ||
getServiceClientType(): ServiceClientType; | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.d.ts.map |
@@ -17,5 +17,4 @@ /* | ||
import { getEnv, baggageUtils } from '@opentelemetry/core'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterBrowserBase, ServiceClientType, } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { createExportTraceServiceRequest, } from '@opentelemetry/otlp-transformer'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, OTLPExporterBrowserBase, } from '@opentelemetry/otlp-exporter-base'; | ||
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer'; | ||
const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces'; | ||
@@ -26,10 +25,7 @@ const DEFAULT_COLLECTOR_URL = `http://localhost:4318/${DEFAULT_COLLECTOR_RESOURCE_PATH}`; | ||
*/ | ||
export class OTLPTraceExporter extends OTLPProtoExporterBrowserBase { | ||
export class OTLPTraceExporter extends OTLPExporterBrowserBase { | ||
constructor(config = {}) { | ||
super(config); | ||
super(config, ProtobufTraceSerializer, 'application/x-protobuf'); | ||
this._headers = Object.assign(this._headers, baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS)); | ||
} | ||
convert(spans) { | ||
return createExportTraceServiceRequest(spans); | ||
} | ||
getDefaultUrl(config) { | ||
@@ -44,6 +40,3 @@ return typeof config.url === 'string' | ||
} | ||
getServiceClientType() { | ||
return ServiceClientType.SPANS; | ||
} | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.js.map |
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; | ||
import { OTLPExporterNodeConfigBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterNodeBase, ServiceClientType } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; | ||
import { OTLPExporterNodeConfigBase, OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer'; | ||
/** | ||
* Collector Trace Exporter for Node with protobuf | ||
*/ | ||
export declare class OTLPTraceExporter extends OTLPProtoExporterNodeBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter { | ||
export declare class OTLPTraceExporter extends OTLPExporterNodeBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter { | ||
constructor(config?: OTLPExporterNodeConfigBase); | ||
convert(spans: ReadableSpan[]): IExportTraceServiceRequest; | ||
getDefaultUrl(config: OTLPExporterNodeConfigBase): string; | ||
getServiceClientType(): ServiceClientType; | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.d.ts.map |
@@ -17,5 +17,4 @@ /* | ||
import { getEnv, baggageUtils } from '@opentelemetry/core'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, parseHeaders, } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterNodeBase, ServiceClientType, } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { createExportTraceServiceRequest, } from '@opentelemetry/otlp-transformer'; | ||
import { appendResourcePathToUrl, appendRootPathToUrlIfNeeded, OTLPExporterNodeBase, parseHeaders, } from '@opentelemetry/otlp-exporter-base'; | ||
import { ProtobufTraceSerializer, } from '@opentelemetry/otlp-transformer'; | ||
import { VERSION } from '../../version'; | ||
@@ -30,10 +29,7 @@ const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces'; | ||
*/ | ||
export class OTLPTraceExporter extends OTLPProtoExporterNodeBase { | ||
export class OTLPTraceExporter extends OTLPExporterNodeBase { | ||
constructor(config = {}) { | ||
super(config); | ||
super(config, ProtobufTraceSerializer, 'application/x-protobuf'); | ||
this.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, this.headers), USER_AGENT), baggageUtils.parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_TRACES_HEADERS)), parseHeaders(config === null || config === void 0 ? void 0 : config.headers)); | ||
} | ||
convert(spans) { | ||
return createExportTraceServiceRequest(spans); | ||
} | ||
getDefaultUrl(config) { | ||
@@ -48,6 +44,3 @@ return typeof config.url === 'string' | ||
} | ||
getServiceClientType() { | ||
return ServiceClientType.SPANS; | ||
} | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.51.1"; | ||
export declare const VERSION = "0.52.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.51.1'; | ||
export const VERSION = '0.52.0'; | ||
//# sourceMappingURL=version.js.map |
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; | ||
import { OTLPExporterConfigBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterBrowserBase, ServiceClientType } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; | ||
import { OTLPExporterConfigBase, OTLPExporterBrowserBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer'; | ||
/** | ||
* Collector Trace Exporter for Web | ||
*/ | ||
export declare class OTLPTraceExporter extends OTLPProtoExporterBrowserBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter { | ||
export declare class OTLPTraceExporter extends OTLPExporterBrowserBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter { | ||
constructor(config?: OTLPExporterConfigBase); | ||
convert(spans: ReadableSpan[]): IExportTraceServiceRequest; | ||
getDefaultUrl(config: OTLPExporterConfigBase): string; | ||
getServiceClientType(): ServiceClientType; | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.d.ts.map |
@@ -21,3 +21,2 @@ "use strict"; | ||
const otlp_exporter_base_1 = require("@opentelemetry/otlp-exporter-base"); | ||
const otlp_proto_exporter_base_1 = require("@opentelemetry/otlp-proto-exporter-base"); | ||
const otlp_transformer_1 = require("@opentelemetry/otlp-transformer"); | ||
@@ -29,10 +28,7 @@ const DEFAULT_COLLECTOR_RESOURCE_PATH = 'v1/traces'; | ||
*/ | ||
class OTLPTraceExporter extends otlp_proto_exporter_base_1.OTLPProtoExporterBrowserBase { | ||
class OTLPTraceExporter extends otlp_exporter_base_1.OTLPExporterBrowserBase { | ||
constructor(config = {}) { | ||
super(config); | ||
super(config, otlp_transformer_1.ProtobufTraceSerializer, 'application/x-protobuf'); | ||
this._headers = Object.assign(this._headers, core_1.baggageUtils.parseKeyPairsIntoRecord((0, core_1.getEnv)().OTEL_EXPORTER_OTLP_TRACES_HEADERS)); | ||
} | ||
convert(spans) { | ||
return (0, otlp_transformer_1.createExportTraceServiceRequest)(spans); | ||
} | ||
getDefaultUrl(config) { | ||
@@ -47,7 +43,4 @@ return typeof config.url === 'string' | ||
} | ||
getServiceClientType() { | ||
return otlp_proto_exporter_base_1.ServiceClientType.SPANS; | ||
} | ||
} | ||
exports.OTLPTraceExporter = OTLPTraceExporter; | ||
//# sourceMappingURL=OTLPTraceExporter.js.map |
import { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; | ||
import { OTLPExporterNodeConfigBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { OTLPProtoExporterNodeBase, ServiceClientType } from '@opentelemetry/otlp-proto-exporter-base'; | ||
import { IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; | ||
import { OTLPExporterNodeConfigBase, OTLPExporterNodeBase } from '@opentelemetry/otlp-exporter-base'; | ||
import { IExportTraceServiceResponse } from '@opentelemetry/otlp-transformer'; | ||
/** | ||
* Collector Trace Exporter for Node with protobuf | ||
*/ | ||
export declare class OTLPTraceExporter extends OTLPProtoExporterNodeBase<ReadableSpan, IExportTraceServiceRequest> implements SpanExporter { | ||
export declare class OTLPTraceExporter extends OTLPExporterNodeBase<ReadableSpan, IExportTraceServiceResponse> implements SpanExporter { | ||
constructor(config?: OTLPExporterNodeConfigBase); | ||
convert(spans: ReadableSpan[]): IExportTraceServiceRequest; | ||
getDefaultUrl(config: OTLPExporterNodeConfigBase): string; | ||
getServiceClientType(): ServiceClientType; | ||
} | ||
//# sourceMappingURL=OTLPTraceExporter.d.ts.map |
@@ -21,3 +21,2 @@ "use strict"; | ||
const otlp_exporter_base_1 = require("@opentelemetry/otlp-exporter-base"); | ||
const otlp_proto_exporter_base_1 = require("@opentelemetry/otlp-proto-exporter-base"); | ||
const otlp_transformer_1 = require("@opentelemetry/otlp-transformer"); | ||
@@ -33,10 +32,7 @@ const version_1 = require("../../version"); | ||
*/ | ||
class OTLPTraceExporter extends otlp_proto_exporter_base_1.OTLPProtoExporterNodeBase { | ||
class OTLPTraceExporter extends otlp_exporter_base_1.OTLPExporterNodeBase { | ||
constructor(config = {}) { | ||
super(config); | ||
super(config, otlp_transformer_1.ProtobufTraceSerializer, 'application/x-protobuf'); | ||
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_TRACES_HEADERS)), (0, otlp_exporter_base_1.parseHeaders)(config === null || config === void 0 ? void 0 : config.headers)); | ||
} | ||
convert(spans) { | ||
return (0, otlp_transformer_1.createExportTraceServiceRequest)(spans); | ||
} | ||
getDefaultUrl(config) { | ||
@@ -51,7 +47,4 @@ return typeof config.url === 'string' | ||
} | ||
getServiceClientType() { | ||
return otlp_proto_exporter_base_1.ServiceClientType.SPANS; | ||
} | ||
} | ||
exports.OTLPTraceExporter = OTLPTraceExporter; | ||
//# sourceMappingURL=OTLPTraceExporter.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.51.1"; | ||
export declare const VERSION = "0.52.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.51.1'; | ||
exports.VERSION = '0.52.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/exporter-trace-otlp-proto", | ||
"version": "0.51.1", | ||
"version": "0.52.0", | ||
"description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector using protobuf over HTTP", | ||
@@ -30,3 +30,4 @@ "main": "build/src/index.js", | ||
"peer-api-check": "node ../../../scripts/peer-api-check.js", | ||
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../" | ||
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../", | ||
"align-api-deps": "node ../../../scripts/align-api-deps.js" | ||
}, | ||
@@ -66,13 +67,12 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/core": "7.23.6", | ||
"@babel/preset-env": "7.22.20", | ||
"@opentelemetry/api": "1.8.0", | ||
"@babel/core": "7.24.6", | ||
"@babel/preset-env": "7.24.6", | ||
"@opentelemetry/api": "1.9.0", | ||
"@types/mocha": "10.0.6", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.20", | ||
"@types/sinon": "17.0.3", | ||
"babel-plugin-istanbul": "6.1.1", | ||
"codecov": "3.8.3", | ||
"cpx": "1.5.0", | ||
"cross-var": "1.1.0", | ||
"karma": "6.4.2", | ||
"karma": "6.4.3", | ||
"karma-chrome-launcher": "3.1.0", | ||
@@ -82,3 +82,3 @@ "karma-coverage": "2.2.1", | ||
"karma-spec-reporter": "0.0.36", | ||
"karma-webpack": "4.0.2", | ||
"karma-webpack": "5.0.1", | ||
"lerna": "6.6.2", | ||
@@ -88,3 +88,3 @@ "mocha": "10.2.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "8.4.0", | ||
"ts-loader": "9.5.1", | ||
"ts-mocha": "10.0.0", | ||
@@ -100,12 +100,11 @@ "typescript": "4.4.4", | ||
"dependencies": { | ||
"@opentelemetry/core": "1.24.1", | ||
"@opentelemetry/otlp-exporter-base": "0.51.1", | ||
"@opentelemetry/otlp-proto-exporter-base": "0.51.1", | ||
"@opentelemetry/otlp-transformer": "0.51.1", | ||
"@opentelemetry/resources": "1.24.1", | ||
"@opentelemetry/sdk-trace-base": "1.24.1" | ||
"@opentelemetry/core": "1.25.0", | ||
"@opentelemetry/otlp-exporter-base": "0.52.0", | ||
"@opentelemetry/otlp-transformer": "0.52.0", | ||
"@opentelemetry/resources": "1.25.0", | ||
"@opentelemetry/sdk-trace-base": "1.25.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto", | ||
"sideEffects": false, | ||
"gitHead": "41c2626fe0ed03e2e83bd79ee43c9bdf0ffd80d8" | ||
"gitHead": "c4d3351b6b3f5593c8d7cbfec97b45cea9fe1511" | ||
} |
@@ -49,3 +49,3 @@ # OpenTelemetry Collector Exporter for node with protobuf | ||
+ Set with environment variables: | ||
- Set with environment variables: | ||
@@ -59,3 +59,3 @@ | Environment variable | Description | | ||
+ Provide `timeoutMillis` to OTLPTraceExporter with `collectorOptions`: | ||
- Provide `timeoutMillis` to OTLPTraceExporter with `collectorOptions`: | ||
@@ -82,10 +82,10 @@ ```js | ||
+ `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. | ||
- `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. | ||
> The exporter will retry exporting within the [exporter timeout configuration](#exporter-timeout-configuration) time. | ||
@@ -100,5 +100,5 @@ ## Running opentelemetry-collector locally to see the traces | ||
+ For more information on OpenTelemetry, visit: <https://opentelemetry.io/> | ||
+ For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js> | ||
+ For help or feedback on this project, join us in [GitHub Discussions][discussions-url] | ||
- For more information on OpenTelemetry, visit: <https://opentelemetry.io/> | ||
- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js> | ||
- For help or feedback on this project, join us in [GitHub Discussions][discussions-url] | ||
@@ -114,4 +114,3 @@ ## License | ||
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fexporter-trace-otlp-proto.svg | ||
[opentelemetry-collector-url]: https://github.com/open-telemetry/opentelemetry-collector | ||
[semconv-resource-service-name]: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/README.md#service | ||
[metrics-exporter-url]: https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-proto |
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
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
6
25
86208
637
112
+ Added@opentelemetry/api-logs@0.52.0(transitive)
+ Added@opentelemetry/core@1.25.0(transitive)
+ Added@opentelemetry/otlp-exporter-base@0.52.0(transitive)
+ Added@opentelemetry/otlp-transformer@0.52.0(transitive)
+ Added@opentelemetry/resources@1.25.0(transitive)
+ Added@opentelemetry/sdk-logs@0.52.0(transitive)
+ Added@opentelemetry/sdk-metrics@1.25.0(transitive)
+ Added@opentelemetry/sdk-trace-base@1.25.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.25.0(transitive)
- Removed@opentelemetry/api@1.8.0(transitive)
- Removed@opentelemetry/api-logs@0.51.1(transitive)
- Removed@opentelemetry/core@1.24.1(transitive)
- Removed@opentelemetry/otlp-exporter-base@0.51.1(transitive)
- Removed@opentelemetry/otlp-proto-exporter-base@0.51.1(transitive)
- Removed@opentelemetry/otlp-transformer@0.51.1(transitive)
- Removed@opentelemetry/resources@1.24.1(transitive)
- Removed@opentelemetry/sdk-logs@0.51.1(transitive)
- Removed@opentelemetry/sdk-metrics@1.24.1(transitive)
- Removed@opentelemetry/sdk-trace-base@1.24.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.24.1(transitive)
Updated@opentelemetry/core@1.25.0