OpenTelemetry API Metrics provides the metrics API for instrumenting applications to collect and export telemetry data.
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api-metrics</artifactId>
<version>1.10.0-alpha-rc.1</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a meter and increments a counter.
Replace dependency with io.opentelemetry:opentelemetry-api and use io.opentelemetry.api.metrics.* classes.
No dependency data recorded yet.