Releases: signalfx/splunk-otel-js
0.4.0
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
- Changed environment variable prefix from
SPLK_
toSPLUNK_
. All environment
variables must be updated for the library to continue to work.
0.3.0
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 atracerConfig
option which is
merged with the default tracer config and passed on to the tracer provider.- Added
spanExporterFactory
option tostartTracing()
options.
spanExporterFactory
receives a processedOptions
instance and
returns a new instance ofExporter
. - Replaced
spanProcessor
option withspanProcessorFactory
.
startTracing()
options now accepts aspanProcessorFactory
function. The function
accept a processedOptions
instance and returns aSpanProcessor
instance or an array ofSpanProcessor
instances. It can be used to configure tracing
with custom Span Processor. If it returns multiple span processors, all of them will
be used.
Release 0.2.0
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
-
Now ships with aliases for commonly used modules to make import paths nicer.
- Instead of import
startTracing
from@splunk/otel/lib
, it can now be imported from@splunk/otel
. - Apps can be auto-instrumented with
-r @splunk/otel/instrument
instead of-r @splunk/otel/lib/instrument
- Instead of import
Release 0.1.0
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.