diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java index 1148de2e401..cfc31aec34a 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java @@ -54,7 +54,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isMonotonic(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundDoubleCounter { + static final class BoundInstrument extends AbstractBoundInstrument + implements DoubleCounter.BoundDoubleCounter { private final boolean monotonic; diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java index 7cdb7493938..14344f4d565 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java @@ -54,7 +54,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isAbsolute(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundDoubleMeasure { + static final class BoundInstrument extends AbstractBoundInstrument + implements DoubleMeasure.BoundDoubleMeasure { private final boolean absolute; diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java index 52d5edd5fc4..f8f864fa180 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java @@ -54,7 +54,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isMonotonic(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundLongCounter { + static final class BoundInstrument extends AbstractBoundInstrument + implements LongCounter.BoundLongCounter { private final boolean monotonic; diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java index 36fbfa55a02..a10cb772907 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java @@ -55,7 +55,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isAbsolute(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundLongMeasure { + static final class BoundInstrument extends AbstractBoundInstrument + implements LongMeasure.BoundLongMeasure { private final boolean absolute;