From 4d328d82239251587850997d7f813bb251c79c6c Mon Sep 17 00:00:00 2001 From: maryliag Date: Wed, 27 Nov 2024 09:37:55 -0500 Subject: [PATCH 1/2] add gauge assync definition --- content/en/docs/concepts/signals/metrics.md | 3 +++ content/en/docs/languages/go/instrumentation.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/content/en/docs/concepts/signals/metrics.md b/content/en/docs/concepts/signals/metrics.md index 8e64ae9d86a7..8fb37239dbe6 100644 --- a/content/en/docs/concepts/signals/metrics.md +++ b/content/en/docs/concepts/signals/metrics.md @@ -69,6 +69,9 @@ The instrument kind is one of the following: size). - **Gauge**: Measures a current value at the time it is read. An example would be the fuel gauge in a vehicle. Gauges are asynchronous. +- **Asynchronous Gauge**: Same as the **Gauge**, but is collected once for + each export. Could be used if you don't have access to the continuous + changes, but only to the aggregated value. - **Histogram**: A client-side aggregation of values, such as request latencies. A histogram is a good choice if you are interested in value statistics. For example: How many requests take fewer than 1s? diff --git a/content/en/docs/languages/go/instrumentation.md b/content/en/docs/languages/go/instrumentation.md index 46688b93d17f..ed82b9cdc8f9 100644 --- a/content/en/docs/languages/go/instrumentation.md +++ b/content/en/docs/languages/go/instrumentation.md @@ -302,7 +302,7 @@ OpenTelemetry Go currently supports the following instruments: - Histogram, a synchronous instrument that supports arbitrary values that are statistically meaningful, such as histograms, summaries, or percentile - Synchronous Gauge, a synchronous instrument that supports non-additive values, - such as room temperature. + such as room temperature - Asynchronous Gauge, an asynchronous instrument that supports non-additive values, such as room temperature - UpDownCounter, a synchronous instrument that supports increments and From 024197dc3b5a25d624f1a590ac93d8ad2b3cf366 Mon Sep 17 00:00:00 2001 From: maryliag Date: Wed, 27 Nov 2024 09:47:08 -0500 Subject: [PATCH 2/2] fix lint --- content/en/docs/concepts/signals/metrics.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/signals/metrics.md b/content/en/docs/concepts/signals/metrics.md index 8fb37239dbe6..62569d57f920 100644 --- a/content/en/docs/concepts/signals/metrics.md +++ b/content/en/docs/concepts/signals/metrics.md @@ -69,9 +69,9 @@ The instrument kind is one of the following: size). - **Gauge**: Measures a current value at the time it is read. An example would be the fuel gauge in a vehicle. Gauges are asynchronous. -- **Asynchronous Gauge**: Same as the **Gauge**, but is collected once for - each export. Could be used if you don't have access to the continuous - changes, but only to the aggregated value. +- **Asynchronous Gauge**: Same as the **Gauge**, but is collected once for each + export. Could be used if you don't have access to the continuous changes, but + only to the aggregated value. - **Histogram**: A client-side aggregation of values, such as request latencies. A histogram is a good choice if you are interested in value statistics. For example: How many requests take fewer than 1s?