Skip to content

0.5.0

Compare
Choose a tag to compare
@owais owais released this 25 Mar 15:50
· 463 commits to main since this release
9988fae

This release uses OpenTelemetry JS version 0.18.1. If you want to extend the instrumentation manually, use the OpenTelemetry JS API version 0.18.1. Consult the release notes linked above for upstream changes.

Refer to Getting Started documentation to instrument your application with splunk-otel-js.

Changes

  • Replaced SPLUNK_TRACE_EXPORTER_URL with OTEL_EXPORTER_JAEGER_ENDPOINT.
  • The default propagator was changed from B3 to a composite B3 + W3C tracecontext
    propagator. This means splunk-otel-js will now support both B3 and tracecontext
    at the same time.
  • startTracing() options now accepts a propagatorFactory option which can be
    used configure custom text map propagator.
  • Listed instrumentations as (optional) peer dependencies. This makes
    require()'ing instrumentations safer despite @splunk/otel not listing
    them as dependencies. Marking them optional ensures npm7 will not
    automatically install these packages. Note that this will still result
    in warnings for users on npm <7.
  • Added suport for the following instrumentations out of the box:
    • @opentelemetry/instrumentation-express
    • @opentelemetry/instrumentation-ioredis
    • @opentelemetry/instrumentation-mongodb
    • @opentelemetry/instrumentation-mysql
    • @opentelemetry/instrumentation-net
    • @opentelemetry/instrumentation-pg
    • @opentelemetry/instrumentation-hapi
  • Removed support for the following instrumentations:
    • @opentelemetry/hapi-instrumentation