MicroProfile Telemetry

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 distributed tracing with MicroProfile Telemetry.

Enabling this feature

To enable the MicroProfile Telemetry 1.1 feature, add the following element declaration into your server.xml file, inside the featureManager element:


Feature configuration elements

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

Features that this feature enables

Supported Java versions

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-21.0

  • JavaSE-22.0

Features that enable this feature

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.1; type="osgi.subsystem.feature"