File tree Expand file tree Collapse file tree 8 files changed +6
-16
lines changed
api/all/src/main/java/io/opentelemetry/api/metrics Expand file tree Collapse file tree 8 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -50,18 +50,17 @@ public interface DoubleCounter {
5050 * Remove the instrument.
5151 *
5252 * @param attributes A set of attributes to identify the instrument.
53- *
5453 * @since 1.56.0
5554 */
5655 default void remove (Attributes attributes ) {
5756 remove (attributes , Context .current ());
5857 }
58+
5959 /**
6060 * Remove the instrument.
6161 *
6262 * @param attributes A set of attributes to identify the instrument.
6363 * @param context The explicit context to associate with this measurement.
64- *
6564 * @since 1.56.0
6665 */
6766 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ public interface DoubleGauge {
4444 * Remove the instrument.
4545 *
4646 * @param attributes A set of attributes to identify the instrument.
47- *
4847 * @since 1.56.0
4948 */
5049 default void remove (Attributes attributes ) {
@@ -56,7 +55,6 @@ default void remove(Attributes attributes) {
5655 *
5756 * @param attributes A set of attributes to identify the instrument.
5857 * @param context The explicit context to associate with this measurement.
59- *
6058 * @since 1.56.0
6159 */
6260 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -51,18 +51,17 @@ public interface DoubleHistogram {
5151 * Remove the instrument.
5252 *
5353 * @param attributes A set of attributes to identify the instrument.
54- *
5554 * @since 1.56.0
5655 */
5756 default void remove (Attributes attributes ) {
5857 remove (attributes , Context .current ());
5958 }
59+
6060 /**
6161 * Remove the instrument.
6262 *
6363 * @param attributes A set of attributes to identify the instrument.
6464 * @param context The explicit context to associate with this measurement.
65- *
6665 * @since 1.56.0
6766 */
6867 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -50,18 +50,17 @@ public interface DoubleUpDownCounter {
5050 * Remove the instrument.
5151 *
5252 * @param attributes A set of attributes to identify the instrument.
53- *
5453 * @since 1.56.0
5554 */
5655 default void remove (Attributes attributes ) {
5756 remove (attributes , Context .current ());
5857 }
58+
5959 /**
6060 * Remove the instrument.
6161 *
6262 * @param attributes A set of attributes to identify the instrument.
6363 * @param context The explicit context to associate with this measurement.
64- *
6564 * @since 1.56.0
6665 */
6766 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -51,18 +51,17 @@ public interface LongCounter {
5151 * Remove the instrument.
5252 *
5353 * @param attributes A set of attributes to identify the instrument.
54- *
5554 * @since 1.56.0
5655 */
5756 default void remove (Attributes attributes ) {
5857 remove (attributes , Context .current ());
5958 }
59+
6060 /**
6161 * Remove the instrument.
6262 *
6363 * @param attributes A set of attributes to identify the instrument.
6464 * @param context The explicit context to associate with this measurement.
65- *
6665 * @since 1.56.0
6766 */
6867 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -44,18 +44,17 @@ public interface LongGauge {
4444 * Remove the instrument.
4545 *
4646 * @param attributes A set of attributes to identify the instrument.
47- *
4847 * @since 1.56.0
4948 */
5049 default void remove (Attributes attributes ) {
5150 remove (attributes , Context .current ());
5251 }
52+
5353 /**
5454 * Remove the instrument.
5555 *
5656 * @param attributes A set of attributes to identify the instrument.
5757 * @param context The explicit context to associate with this measurement.
58- *
5958 * @since 1.56.0
6059 */
6160 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -51,18 +51,17 @@ public interface LongHistogram {
5151 * Remove the instrument.
5252 *
5353 * @param attributes A set of attributes to identify the instrument.
54- *
5554 * @since 1.56.0
5655 */
5756 default void remove (Attributes attributes ) {
5857 remove (attributes , Context .current ());
5958 }
59+
6060 /**
6161 * Remove the instrument.
6262 *
6363 * @param attributes A set of attributes to identify the instrument.
6464 * @param context The explicit context to associate with this measurement.
65- *
6665 * @since 1.56.0
6766 */
6867 default void remove (Attributes attributes , Context context ) {}
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ public interface LongUpDownCounter {
5050 * Remove the instrument.
5151 *
5252 * @param attributes A set of attributes to identify the instrument.
53- *
5453 * @since 1.56.0
5554 */
5655 default void remove (Attributes attributes ) {
@@ -62,7 +61,6 @@ default void remove(Attributes attributes) {
6261 *
6362 * @param attributes A set of attributes to identify the instrument.
6463 * @param context The explicit context to associate with this measurement.
65- *
6664 * @since 1.56.0
6765 */
6866 default void remove (Attributes attributes , Context context ) {}
You can’t perform that action at this time.
0 commit comments