From bb43eb3490954d65eb746d09514e33847237bed3 Mon Sep 17 00:00:00 2001 From: chluknight1224 Date: Tue, 26 Aug 2025 09:21:38 +0800 Subject: [PATCH] Update AsyncGaugeUsage.java There are comments containing word "counter" in the sample code of Guage. And I update the word to "guage". --- doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java b/doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java index 1ffbca0ffe..73b8f82ef5 100644 --- a/doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java +++ b/doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java @@ -16,7 +16,7 @@ public class AsyncGaugeUsage { public static void asyncGaugeUsage(Meter meter) { AtomicReference processingLineTemp = new AtomicReference<>(273.0); - // Construct an async counter to observe an existing counter in a callback + // Construct an async gauge to observe an existing gauge in a callback ObservableDoubleGauge asyncGauge = meter .gaugeBuilder("fully.qualified.gauge")