@opentelemetry/otlp-transformer
Advanced tools
Comparing version 0.35.1 to 0.36.0
@@ -24,5 +24,5 @@ import { hrTimeToNanoseconds } from '@opentelemetry/core'; | ||
attributes: toAttributes(span.attributes), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: span.droppedAttributesCount, | ||
events: span.events.map(toOtlpSpanEvent), | ||
droppedEventsCount: 0, | ||
droppedEventsCount: span.droppedEventsCount, | ||
status: { | ||
@@ -34,3 +34,3 @@ // API and proto enums share the same values | ||
links: span.links.map(function (link) { return toOtlpLink(link, useHex); }), | ||
droppedLinksCount: 0, | ||
droppedLinksCount: span.droppedLinksCount, | ||
}; | ||
@@ -49,3 +49,3 @@ } | ||
traceState: (_a = link.context.traceState) === null || _a === void 0 ? void 0 : _a.serialize(), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: link.droppedAttributesCount || 0, | ||
}; | ||
@@ -60,5 +60,5 @@ } | ||
timeUnixNano: hrTimeToNanoseconds(timedEvent.time), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: timedEvent.droppedAttributesCount || 0, | ||
}; | ||
} | ||
//# sourceMappingURL=internal.js.map |
@@ -24,5 +24,5 @@ import { hrTimeToNanoseconds } from '@opentelemetry/core'; | ||
attributes: toAttributes(span.attributes), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: span.droppedAttributesCount, | ||
events: span.events.map(toOtlpSpanEvent), | ||
droppedEventsCount: 0, | ||
droppedEventsCount: span.droppedEventsCount, | ||
status: { | ||
@@ -34,3 +34,3 @@ // API and proto enums share the same values | ||
links: span.links.map(link => toOtlpLink(link, useHex)), | ||
droppedLinksCount: 0, | ||
droppedLinksCount: span.droppedLinksCount, | ||
}; | ||
@@ -49,3 +49,3 @@ } | ||
traceState: (_a = link.context.traceState) === null || _a === void 0 ? void 0 : _a.serialize(), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: link.droppedAttributesCount || 0, | ||
}; | ||
@@ -60,5 +60,5 @@ } | ||
timeUnixNano: hrTimeToNanoseconds(timedEvent.time), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: timedEvent.droppedAttributesCount || 0, | ||
}; | ||
} | ||
//# sourceMappingURL=internal.js.map |
@@ -27,5 +27,5 @@ "use strict"; | ||
attributes: (0, internal_1.toAttributes)(span.attributes), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: span.droppedAttributesCount, | ||
events: span.events.map(toOtlpSpanEvent), | ||
droppedEventsCount: 0, | ||
droppedEventsCount: span.droppedEventsCount, | ||
status: { | ||
@@ -37,3 +37,3 @@ // API and proto enums share the same values | ||
links: span.links.map(link => toOtlpLink(link, useHex)), | ||
droppedLinksCount: 0, | ||
droppedLinksCount: span.droppedLinksCount, | ||
}; | ||
@@ -53,3 +53,3 @@ } | ||
traceState: (_a = link.context.traceState) === null || _a === void 0 ? void 0 : _a.serialize(), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: link.droppedAttributesCount || 0, | ||
}; | ||
@@ -65,3 +65,3 @@ } | ||
timeUnixNano: (0, core_1.hrTimeToNanoseconds)(timedEvent.time), | ||
droppedAttributesCount: 0, | ||
droppedAttributesCount: timedEvent.droppedAttributesCount || 0, | ||
}; | ||
@@ -68,0 +68,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.35.1", | ||
"version": "0.36.0", | ||
"description": "Transform OpenTelemetry SDK data into OTLP", | ||
@@ -59,3 +59,3 @@ "module": "build/esm/index.js", | ||
"devDependencies": { | ||
"@opentelemetry/api": ">=1.3.0 <1.5.0", | ||
"@opentelemetry/api": "1.4.1", | ||
"@types/mocha": "10.0.0", | ||
@@ -81,10 +81,10 @@ "@types/webpack-env": "1.16.3", | ||
"dependencies": { | ||
"@opentelemetry/core": "1.9.1", | ||
"@opentelemetry/resources": "1.9.1", | ||
"@opentelemetry/sdk-metrics": "1.9.1", | ||
"@opentelemetry/sdk-trace-base": "1.9.1" | ||
"@opentelemetry/core": "1.10.0", | ||
"@opentelemetry/resources": "1.10.0", | ||
"@opentelemetry/sdk-metrics": "1.10.0", | ||
"@opentelemetry/sdk-trace-base": "1.10.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-transformer", | ||
"sideEffects": false, | ||
"gitHead": "279458e7ddf16f7ddca5fe60c78672e05fafce66" | ||
"gitHead": "56e6b1bb890f844b8963a146780d0b9cfa8abd0d" | ||
} |
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
253149
+ Added@opentelemetry/core@1.10.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)
- Removed@opentelemetry/core@1.9.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)
Updated@opentelemetry/core@1.10.0