Skip to content

0.3.0

Compare
Choose a tag to compare
@owais owais released this 11 Mar 19:42
· 567 commits to main since this release
cd6d5cc

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

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

Changes

  • startTracing() options now accepts a tracerConfig option which is
    merged with the default tracer config and passed on to the tracer provider.
  • Added spanExporterFactory option to startTracing() options.
    spanExporterFactory receives a processed Options instance and
    returns a new instance of Exporter.
  • Replaced spanProcessor option with spanProcessorFactory.
    startTracing() options now accepts a spanProcessorFactory function. The function
    accept a processed Options instance and returns a SpanProcessor
    instance or an array of SpanProcessor instances. It can be used to configure tracing
    with custom Span Processor. If it returns multiple span processors, all of them will
    be used.