MicroProfile Telemetry2.01.11.0
This feature provides support for the Eclipse MicroProfile Telemetry specification for enterprise Java.
For information about migrating from MicroProfile Open Tracing to MicroProfile Open Telemetry, see Differences between MicroProfile Telemetry 1.0 and MicroProfile OpenTracing 3.0.
For information about configuring MicroProfile Telemetry, see Enable observability with MicroProfile Telemetry.
Enabling this feature
To enable the MicroProfile Telemetry 1.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>mpTelemetry-1.0</feature>
Third-party API packages provided by this feature
io.opentelemetry.api
io.opentelemetry.api.baggage
io.opentelemetry.api.baggage.propagation
io.opentelemetry.api.common
io.opentelemetry.api.trace
io.opentelemetry.context
io.opentelemetry.context.propagation
io.opentelemetry.instrumentation.annotations
io.opentelemetry.sdk.autoconfigure.spi
io.opentelemetry.sdk.autoconfigure.spi.traces
io.opentelemetry.sdk.common
io.opentelemetry.sdk.resources
io.opentelemetry.sdk.trace
io.opentelemetry.sdk.trace.data
io.opentelemetry.sdk.trace.export
io.opentelemetry.sdk.trace.samplers
io.opentelemetry.semconv.resource.attributes
io.opentelemetry.semconv.trace.attributes
Developing a feature that depends on this feature
If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content
header in your feature manifest file.
io.openliberty.mpTelemetry-1.0; type="osgi.subsystem.feature"