Skip to content

Releases: elastic/elastic-otel-node

@elastic/mockopampserver 0.4.0

16 Jul 20:20
7c315d7
Compare
Choose a tag to compare

Changelog

  • Expose MockOpAMPServer#setAgentConfigMap(...) method, for use in testing.
  • chore: Excluding devDeps from Docker images should make them smaller.
  • Fix an issue where Ctrl+C would not exit mockopampserver when running the Docker image.

README | Full Changelog

@elastic/opentelemetry-instrumentation-openai 0.5.1

14 Jul 21:20
013823d
Compare
Choose a tag to compare

Changelog

  • Update OpenTelemetry JS dependencies to latest.

README | Full Changelog

@elastic/mockopampserver 0.3.0

24 Jun 18:11
682bdc2
Compare
Choose a tag to compare

Changelog

  • Add a POST /api/agentConfigMap API endpoint that is only supported if
    testMode is true. This is not an OpAMP endpoint. It exists to support
    dev/test changing the agent config on the fly. Example usage with curl:

      curl -i http://127.0.0.1:4320/api/agentConfigMap -F 'elastic={"logging_level":"debug"}'
    
  • Drop --json-remote-config-file CLI option in favour of more capable
    -F option. See example usage in npm run example:* scripts in package.json.


README | Full Changelog

@elastic/opentelemetry-node 1.1.1

13 Jun 17:01
618a6e0
Compare
Choose a tag to compare

Changelog

  • Fix publishing so that the "hook.mjs" file is included.
    (#835)

    Without this fix, using node --import @elastic/opentelemetry-node ... will
    crash with:

      Cannot find module '.../node_modules/@elastic/opentelemetry-node/hook.mjs' imported from .../node_modules/@elastic/opentelemetry-node/import.mjs
    

README | Full Changelog

@elastic/opentelemetry-node 1.1.0

12 Jun 16:30
b930c4d
Compare
Choose a tag to compare

Changelog


README | Full Changelog

@elastic/opamp-client-node 0.2.0

12 Jun 15:46
2a44705
Compare
Choose a tag to compare

@elastic/opamp-client-node 0.1.0

05 Jun 19:52
4e643a6
Compare
Choose a tag to compare

@elastic/mockopampserver 0.2.0

05 Jun 19:41
05f0ad3
Compare
Choose a tag to compare

Changelog

  • Fix publishConfig for npm publishing.

README | Full Changelog

@elastic/opentelemetry-node 1.0.0

01 Apr 21:06
00a9811
Compare
Choose a tag to compare

Changelog

  • BREAKING CHANGE: Change the default behavior of logging framework
    instrumentations (for Bunyan, Pino, and Winston), to not do "log sending"
    by default. "Log sending" is the feature name of
    @opentelemetry/instrumentation-bunyan,
    @opentelemetry/instrumentation-pino, and
    @opentelemetry/instrumentation-winston
    to send log records directly to the configured OTLP collector. The new
    default behavior effectively sets the default config for these
    instrumentations to {disableLogSending: true}.

    This default behavior differs from the current default in OpenTelemetry JS.
    OpenTelemetry Java instrumentation docs
    provide an argument for why log sending (or "Direct to collector") should be
    opt-in. A common workflow for applications is to log to file or stdout and
    have some external process collect those logs. In those cases, if the
    OpenTelemetry SDK was also sending logs directly, then the telemetry
    backend would very likely have duplicate logs.

    This is controlled by the ELASTIC_OTEL_ENABLE_LOG_SENDING environment variable.
    To enable log-sending by default, set ELASTIC_OTEL_ENABLE_LOG_SENDING=true.
    (#680)

  • BREAKING CHANGE: Set default value of OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE to delta.
    This change is done to follow the recommendations specified in the EDOT docs.
    (#670)

  • feat: Default to stable semantic conventions for HTTP instrumentation.
    (#669)

  • Upgrade upstream OTel dependencies to SDK 2.0. This should be non-breaking
    for users of node --import @elastic/opentelemetry-node my-app.js to start
    EDOT Node.js for their application.
    (#663)

  • BREAKING CHANGE: Remove support for passing in a function for a particular
    instrumentation to the getInstrumentations() utility. It wasn't adding any
    value.

  • chore: Use peerDependencies for @opentelemetry/api dep, and cap it to a
    known-supported maximum version, according to OTel JS guidance for
    implementors

    (#606)

  • BREAKING CHANGE: Remove the @elastic/opentelemetry-node/sdk entry-point for the 1.0.0 release.
    This will be brought back in a minor release. It is being removed so that the
    exported API can be re-worked to be more supportable.

  • BREAKING CHANGE: Temporarily remove the 'gcp' resource detector, due to an
    issue
    that results in misleading tracing data from the resource detector appearing
    to be from the application.
    (#703)


README | Full Changelog

@elastic/mockotlpserver 0.8.0

01 Apr 15:21
404b7ae
Compare
Choose a tag to compare

Changelog

  • feat: 'summary' rendering of Sum and Gauge metric types
    (#686)

  • BREAKING CHANGE: Bump min-supported node to ^18.19.0 || >=20.6.0.
    This raises the minimum-supported Node.js to the same as OpenTelemetry JS SDK 2.0.


README | Full Changelog