Releases: elastic/elastic-otel-node
@elastic/opentelemetry-node 0.7.0
Changelog
-
BREAKING CHANGE: Bump min-supported node to
^18.19.0 || >=20.6.0
.
This raises the minimum-supported Node.js to the same as coming releases of OpenTelemetry JS.
This base version range ensures thatmodule.register()
is available for improved ES module
(ESM) auto-instrumentation.
This drops support for Node.js 14 and 16. -
feat: Improve ES module (ESM) instrumentation.
As part of this change, using
--require @elastic/opentelemetry-node
will
no longer setup a module hook for instrumenting ES modules; only using
--import @elastic/opentelemetry-node
will do so. The recommendation now
is to use--import @elastic/opentelemetry-node
to start EDOT Node.js.
Using--require ...
is still fine when you know your application is only
using CommonJS modules.Implementation details: The underlying module hook mechanism for ESM has been
changed to only hook modules that will potentially be patched by configured
instrumentations. This allows some instrumentations to work that could not
before due to some ESM files not being hookable (at least via the imperfect
mechanism for hooking ES modules). One such example is
@elastic/instrumentation-openai
. See
nodejs/import-in-the-middle#146 for internal
details. -
feat: Add
@opentelemetry/instrumentation-mysql
to the default set
of instrumentations. See https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-mysql#readme -
feat: Add
@opentelemetry/instrumentation-mysql2
to the default set
of instrumentations. See https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-mysql2#readme -
feat: Add
@opentelemetry/instrumentation-cassandra-driver
to the default set
of instrumentations. See https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-cassandra#readme -
test: Test that the native instrumentation in
@elastic/[email protected]
and later works.
@elastic/mockotlpserver 0.6.3
Changelog
- Fix an alignment issue in the "gutter" of the trace-summary (waterfall) output
when 1-char units are used (i.e. any time unit above "ms").
@elastic/opentelemetry-node 0.6.0
Changelog
- feat: Add
@elastic/opentelemetry-instrumentation-openai
to the default set
of instrumentations. See https://github.com/elastic/elastic-otel-node/tree/main/packages/instrumentation-openai#readme
@elastic/mockotlpserver 0.6.2
@elastic/opentelemetry-instrumentation-openai 0.4.1
@elastic/opentelemetry-instrumentation-openai 0.4.0
Changelog
- Fix the release workflow.
@elastic/opentelemetry-instrumentation-openai 0.3.0
(This was a broken release. Use v0.4.0 or later.)
Changelog
- Based on GenAI semantic conventions 1.29.
- Instrumentation of chat completion, including streaming and tool calls.
- Instrumentation of embeddings creation.
- Unit tests that test against recorded responses from api.openai.com.
- Integration tests that run against Ollama, OpenAI, and Azure OpenAI.
@elastic/opentelemetry-node 0.5.0
@elastic/opentelemetry-node 0.4.1
Changelog
- chore: Fix release workflow. v0.4.0 was released without a GitHub releases
entry.
@elastic/mockotlpserver 0.5.0
Changelog
- fix: Add shebang line to the CLI script so
npx @elastic/mockotlpserver
works. - feat: Add
--log-level, -l LEVEL
option. E.g.mockotlpserver -l warn
makes startup silent.
Also add alogLevel
option to theMockOtlpServer
class for module usage.