Releases: cloudydeno/opentelemetry
v0.10.0: Publishing to JSR
Repo renamed. Now published to @cloudydeno/opentelemetry on JSR.
Full Changelog: v0.9.1...v0.10.0
v0.9.1: Fix for broken export in 0.9.0
The OpenTelemetry-JS v2.0 bump changed Resource from a class to a type, and I forgot to update this re-export in mod.ts since that file is not used in this repo's CI or demo. Oops
v0.9.0: SDK improvements, OpenTelemetry-JS v2 upgrade
What's Changed
- Rebuild otel on v2.0 in #13
- Upstream migration docs: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md
- Align
DenoTelemetrySdkmore closely with the upstream NodeJS sdk entrypoint.- Now includes support for upstream envvars like
OTEL_LOGS_EXPORTER=console,OTEL_METRIC_EXPORT_INTERVAL=60000 DenoTelemetrySdk's constructor accepts somewhat different properties now.
- Now includes support for upstream envvars like
Full Changelog: v0.8.1...v0.9.0
v0.8.1: Fix datadog entrypoint
Full Changelog: v0.8.0...v0.8.1
- Datadog entrypoint broke in v0.8.0. Oops
- Also reintroduce
Deno/${version}to the OTLP submission user-agent.
v0.8.0: Update opentelemetry-js to v1.30.1
Primary change: #9
- Update from v1.24.0 towards v1.30.1:
- Lots of deprecations and new fields on
opentelemetry/semantic-conventions.js - New modules:
opentelemetry/exporter-logs-otlp-http.jsandopentelemetry/exporter-trace-otlp-http.js - Gauge metrics added to
opentelemetry/api.js
- Lots of deprecations and new fields on
otel-platform/otlp-json-exporters.tsis deleted in favor of upstream's OTLP exporters, with new features like retry and optional compression.- Enable upload compression with
OTEL_EXPORTER_OTLP_COMPRESSION=gzip.
- Enable upload compression with
semantic-conventions
Upstream now has two different deprecation cycles going on here, and an extra import specifier to select between them.:
- I ended up patching the default import to include all three deprecation cycles since
opentelemetry-jshas yet to follow either deprecation, while I want to move this library's instrumentations forward to the latest HTTP convenations. - Don't worry about incubating or not, just import
semantic-conventions.js. - I am deferring HTTP convention changeover to a separate 0.x release so you can take this version without updating your dashboards.
OTLP changes
This includes a pretty large refactor of OTLP exporting:
- Upstream made some sizable exporter consolidation, so I managed to delete our individual custom exporters and instead give the proper node exporter a
fetch()implementaion that works nicely with Deno. The final OTLP export javascript is quite clean now - just promises, no callbacks. Nice! - New gzip compression implemented with
CompressionStream.- Other options (
keepAlive,agentOptions) stripped out, irrelevant in Deno. - I suppose
Deno.HttpClientcould be plumbed but I don't see immediate benefit andtscwould not be happy with me. Shout if you care.
- Other options (
- protobuf exportors are still stripped out. I don't view the amount of additional code worth it. I think if you are at the level where the performance matters, you should be looking forward to
deno --unstable-otelinstead.
v0.7.0: Deno 2 compatibility
- Remove instrumentations for dead APIs:
Deno.run(),Deno.metrics(),Deno.resources() - Update several typescript signatures to pass typecheck in Deno v2
v0.6.3: Pin //esm.sh/shimmer import
I've seen messages like this in some situations:
error: Specifier not found in cache: "https://esm.sh/shimmer", --cached-only is specified.
at https://deno.land/x/observability@v0.4.3/opentelemetry/instrumentation.js:19:26
I suspect that the import redirection is what defeats the deno cache, so pinning the version. Should be pinned anyway.
v0.6.2: Fix encoding in OTLP metrics exports
Diff: Fix metrics export 400 Bad Request issues
Addresses a regression in the metrics signal when OpenTelemetry-JS started using LongBits.
v0.6.1: Instrumenting the Deno.Command() API
What's Changed
- Instrument
new Deno.Command()- replacesDeno.run() Deno.run()instrumentation is kept in parallel for now, until Deno removes the API.
Full Changelog: v0.6.0...v0.6.1
v0.6.0 with OpenTelemetry-JS v1.24.0
opentelemetry-js has made larger changes to:
semantic-conventionspackage, the previous exports have been marked as deprecated- logs and events packages, which are now related (events API now depends on logs API)
- OTLP transforming, to improve timestamp precision
- their build system which is what delayed this update here
What's Changed
- Update opentelemetry-js: 1.15.2 -> 1.18.0 by @danopia in #4
- Update opentelemetry-js: 1.18.0 -> 1.24.0 by @danopia in #5
- Maintenance on otel platform by @danopia in #6
Full Changelog: v0.5.4...v0.6.0