MicroProfile Telemetry
2.0
1.1
1.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.

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>

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-23.0

Platform Versions

  • microProfile-6.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.0; type="osgi.subsystem.feature"

SPI packages provided by this feature