@opentelemetry/exporter-jaeger
Advanced tools
Comparing version 1.9.1 to 1.10.0
@@ -6,2 +6,12 @@ import { ExportResult } from '@opentelemetry/core'; | ||
* Format and sends span information to Jaeger Exporter. | ||
* | ||
* @deprecated Jaeger supports the OpenTelemetry protocol natively | ||
* (see https://www.jaegertracing.io/docs/1.41/apis/#opentelemetry-protocol-stable). | ||
* This exporter will not be required by the OpenTelemetry specification starting July 2023, and | ||
* will not receive any security fixes past March 2024. | ||
* | ||
* Please migrate to any of the following packages: | ||
* - `@opentelemetry/exporter-trace-otlp-proto` | ||
* - `@opentelemetry/exporter-trace-otlp-grpc` | ||
* - `@opentelemetry/exporter-trace-otlp-http` | ||
*/ | ||
@@ -8,0 +18,0 @@ export declare class JaegerExporter implements SpanExporter { |
@@ -27,2 +27,12 @@ "use strict"; | ||
* Format and sends span information to Jaeger Exporter. | ||
* | ||
* @deprecated Jaeger supports the OpenTelemetry protocol natively | ||
* (see https://www.jaegertracing.io/docs/1.41/apis/#opentelemetry-protocol-stable). | ||
* This exporter will not be required by the OpenTelemetry specification starting July 2023, and | ||
* will not receive any security fixes past March 2024. | ||
* | ||
* Please migrate to any of the following packages: | ||
* - `@opentelemetry/exporter-trace-otlp-proto` | ||
* - `@opentelemetry/exporter-trace-otlp-grpc` | ||
* - `@opentelemetry/exporter-trace-otlp-http` | ||
*/ | ||
@@ -29,0 +39,0 @@ class JaegerExporter { |
@@ -66,2 +66,23 @@ "use strict"; | ||
} | ||
/* Add droppedAttributesCount as a tag */ | ||
if (span.droppedAttributesCount) { | ||
tags.push({ | ||
key: 'otel.dropped_attributes_count', | ||
value: toTagValue(span.droppedAttributesCount), | ||
}); | ||
} | ||
/* Add droppedEventsCount as a tag */ | ||
if (span.droppedEventsCount) { | ||
tags.push({ | ||
key: 'otel.dropped_events_count', | ||
value: toTagValue(span.droppedEventsCount), | ||
}); | ||
} | ||
/* Add droppedLinksCount as a tag */ | ||
if (span.droppedLinksCount) { | ||
tags.push({ | ||
key: 'otel.dropped_links_count', | ||
value: toTagValue(span.droppedLinksCount), | ||
}); | ||
} | ||
const spanTags = types_1.ThriftUtils.getThriftTags(tags); | ||
@@ -74,2 +95,8 @@ const logs = span.events.map((event) => { | ||
} | ||
if (event.droppedAttributesCount) { | ||
fields.push({ | ||
key: 'otel.event.dropped_attributes_count', | ||
value: event.droppedAttributesCount, | ||
}); | ||
} | ||
return { timestamp: (0, core_1.hrTimeToMilliseconds)(event.time), fields }; | ||
@@ -76,0 +103,0 @@ }); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.9.1"; | ||
export declare const VERSION = "1.10.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.9.1'; | ||
exports.VERSION = '1.10.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/exporter-jaeger", | ||
"version": "1.9.1", | ||
"version": "1.10.0", | ||
"description": "OpenTelemetry Exporter Jaeger allows user to send collected traces to Jaeger", | ||
@@ -48,3 +48,3 @@ "main": "build/src/index.js", | ||
"@opentelemetry/api": "^1.0.0", | ||
"@opentelemetry/resources": "1.9.1", | ||
"@opentelemetry/resources": "1.10.0", | ||
"@types/mocha": "10.0.0", | ||
@@ -66,5 +66,5 @@ "@types/node": "18.6.5", | ||
"dependencies": { | ||
"@opentelemetry/core": "1.9.1", | ||
"@opentelemetry/sdk-trace-base": "1.9.1", | ||
"@opentelemetry/semantic-conventions": "1.9.1", | ||
"@opentelemetry/core": "1.10.0", | ||
"@opentelemetry/sdk-trace-base": "1.10.0", | ||
"@opentelemetry/semantic-conventions": "1.10.0", | ||
"jaeger-client": "^3.15.0" | ||
@@ -74,3 +74,3 @@ }, | ||
"sideEffects": false, | ||
"gitHead": "279458e7ddf16f7ddca5fe60c78672e05fafce66" | ||
"gitHead": "56e6b1bb890f844b8963a146780d0b9cfa8abd0d" | ||
} |
@@ -1,2 +0,2 @@ | ||
# OpenTelemetry Jaeger Trace Exporter for Node.js | ||
# (Deprecated) OpenTelemetry Jaeger Trace Exporter for Node.js | ||
@@ -6,2 +6,8 @@ [![NPM Published Version][npm-img]][npm-url] | ||
**NOTE: Support for `@opentelemetry/exporter-jaeger` will end March 2024, please use any of the following packages instead:** | ||
- `@opentelemetry/exporter-trace-otlp-proto` | ||
- `@opentelemetry/exporter-trace-otlp-grpc` | ||
- `@opentelemetry/exporter-trace-otlp-http` | ||
OpenTelemetry Jaeger Trace Exporter allows the user to send collected traces to Jaeger. | ||
@@ -8,0 +14,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
63691
481
109
+ Added@opentelemetry/core@1.10.0(transitive)
+ Added@opentelemetry/resources@1.10.0(transitive)
+ Added@opentelemetry/sdk-trace-base@1.10.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.10.0(transitive)
- Removed@opentelemetry/core@1.9.1(transitive)
- Removed@opentelemetry/resources@1.9.1(transitive)
- Removed@opentelemetry/sdk-trace-base@1.9.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.9.1(transitive)
Updated@opentelemetry/core@1.10.0