Package io.opentelemetry.api
@ParametersAreNonnullByDefault
package io.opentelemetry.api
The OpenTelemetry API.
Individual features of OpenTelemetry, such as tracing and metrics, can be accessed through
methods on OpenTelemetry
.
-
ClassDescriptionThe default OpenTelemetry API, which tries to find API implementations via SPI or otherwise falls back to no-op default implementations.A global singleton for the entrypoint to telemetry functionality for tracing, metrics and baggage.Static global instances are obfuscated when they are returned from the API to prevent users from casting them to their SDK-specific implementation.The entrypoint to telemetry functionality for tracing, metrics and baggage.