From 1e7239e74c96f79b99a93bcf3de39cd90afdb08e Mon Sep 17 00:00:00 2001 From: John Watson Date: Thu, 13 Feb 2020 08:58:40 -0800 Subject: [PATCH] add the missing enclosing interface (#854) --- api/src/main/java/io/opentelemetry/metrics/DoubleCounter.java | 2 +- api/src/main/java/io/opentelemetry/metrics/DoubleMeasure.java | 2 +- api/src/main/java/io/opentelemetry/metrics/LongCounter.java | 2 +- api/src/main/java/io/opentelemetry/metrics/LongMeasure.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/main/java/io/opentelemetry/metrics/DoubleCounter.java b/api/src/main/java/io/opentelemetry/metrics/DoubleCounter.java index 8bcd19d42a5..1a2a461691b 100644 --- a/api/src/main/java/io/opentelemetry/metrics/DoubleCounter.java +++ b/api/src/main/java/io/opentelemetry/metrics/DoubleCounter.java @@ -73,7 +73,7 @@ public interface DoubleCounter extends Counter { * @since 0.1.0 */ @ThreadSafe - interface BoundDoubleCounter extends BoundInstrument { + interface BoundDoubleCounter extends InstrumentWithBinding.BoundInstrument { /** * Adds the given {@code delta} to the current value. The values can be negative iff monotonic * was set to {@code false}. diff --git a/api/src/main/java/io/opentelemetry/metrics/DoubleMeasure.java b/api/src/main/java/io/opentelemetry/metrics/DoubleMeasure.java index e3045ea6cf3..2fef48fe865 100644 --- a/api/src/main/java/io/opentelemetry/metrics/DoubleMeasure.java +++ b/api/src/main/java/io/opentelemetry/metrics/DoubleMeasure.java @@ -69,7 +69,7 @@ public interface DoubleMeasure extends Measure { * @since 0.1.0 */ @ThreadSafe - interface BoundDoubleMeasure extends BoundInstrument { + interface BoundDoubleMeasure extends InstrumentWithBinding.BoundInstrument { /** * Records the given measurement, associated with the current {@code Context}. * diff --git a/api/src/main/java/io/opentelemetry/metrics/LongCounter.java b/api/src/main/java/io/opentelemetry/metrics/LongCounter.java index 49bbe82144f..ef7df5d8c69 100644 --- a/api/src/main/java/io/opentelemetry/metrics/LongCounter.java +++ b/api/src/main/java/io/opentelemetry/metrics/LongCounter.java @@ -73,7 +73,7 @@ public interface LongCounter extends Counter { * @since 0.1.0 */ @ThreadSafe - interface BoundLongCounter extends BoundInstrument { + interface BoundLongCounter extends InstrumentWithBinding.BoundInstrument { /** * Adds the given {@code delta} to the current value. The values can be negative iff monotonic diff --git a/api/src/main/java/io/opentelemetry/metrics/LongMeasure.java b/api/src/main/java/io/opentelemetry/metrics/LongMeasure.java index 73bf85b643f..87fc920ebfa 100644 --- a/api/src/main/java/io/opentelemetry/metrics/LongMeasure.java +++ b/api/src/main/java/io/opentelemetry/metrics/LongMeasure.java @@ -69,7 +69,7 @@ public interface LongMeasure extends Measure { * @since 0.1.0 */ @ThreadSafe - interface BoundLongMeasure extends BoundInstrument { + interface BoundLongMeasure extends InstrumentWithBinding.BoundInstrument { /** * Records the given measurement, associated with the current {@code Context}. *