From cb3acdede5cd42b2118ab38cd1963f4feca7e746 Mon Sep 17 00:00:00 2001 From: jtl-novatec <151550827+jtl-novatec@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:16:32 +0200 Subject: [PATCH] Update index.md --- tutorial/content/labs/instrumentation/manual/metrics/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/content/labs/instrumentation/manual/metrics/index.md b/tutorial/content/labs/instrumentation/manual/metrics/index.md index f7c01a2..1d668b5 100644 --- a/tutorial/content/labs/instrumentation/manual/metrics/index.md +++ b/tutorial/content/labs/instrumentation/manual/metrics/index.md @@ -171,8 +171,8 @@ To illustrate this, consider a scenario where you want to measure the number of Similar to the real world, there are different types of instruments depending on what you try to measure. OpenTelemetry provides different types of instruments to measure various aspects of your application. For example: - `Counters` are used for monotonically increasing values, such as the total number of requests handled by a server. -- `UpAndDownCounters` are used to track values that can both increase and decrease, like the number of active connections to a database. --[`Gauge`](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#gauge) instruments reflect the state of a value at a given time, such as the current memory usage of a process. +- `UpAndDownCounters` are used to track values that can both increase and decrease, like the number of active connections to a database +- [`Gauge`](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#gauge) instruments reflect the state of a value at a given time, such as the current memory usage of a process. - `Histogram` instruments are used to analyze the distribution of how frequently a value occurs, which can help identify trends or anomalies in the data. Each type of instrument, except for histograms, has a synchronous and asynchronous variant. Synchronous instruments are invoked in line with the application code, while asynchronous instruments register a callback function that is invoked on demand. This allows for more efficient and flexible metric collection, especially in scenarios where the metric value is expensive to compute or when the metric value changes infrequently.