Skip to content

Releases: cloudydeno/opentelemetry

v0.10.0: Publishing to JSR

17 Apr 20:50
7ec5876

Choose a tag to compare

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

30 Mar 13:21

Choose a tag to compare

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

29 Mar 19:55
c3c2e07

Choose a tag to compare

What's Changed

Full Changelog: v0.8.1...v0.9.0

v0.8.1: Fix datadog entrypoint

17 Feb 10:53
3788b13

Choose a tag to compare

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

17 Feb 00:26
924f368

Choose a tag to compare

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.js and opentelemetry/exporter-trace-otlp-http.js
    • Gauge metrics added to opentelemetry/api.js
  • otel-platform/otlp-json-exporters.ts is 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.

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-js has 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.HttpClient could be plumbed but I don't see immediate benefit and tsc would not be happy with me. Shout if you care.
  • 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-otel instead.

v0.7.0: Deno 2 compatibility

18 Dec 12:23
8c2a6aa

Choose a tag to compare

  • 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

03 Jun 10:59
c6ba11a

Choose a tag to compare

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

25 May 10:23
51edd0d

Choose a tag to compare

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

18 May 12:33
0eb6d1a

Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0 with OpenTelemetry-JS v1.24.0

17 May 22:09
ea0e851

Choose a tag to compare

opentelemetry-js has made larger changes to:

  • semantic-conventions package, 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