Skip to content

Commit d0c90b8

Browse files
committed
Merge branch '1.12.x' into 1.13.x
2 parents 43a4b97 + a299d10 commit d0c90b8

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

docs/modules/ROOT/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* xref:installing.adoc[Installing]
33
* xref:concepts.adoc[Concepts]
44
** xref:concepts/implementations.adoc[Supported Monitoring Systems]
5-
** xref:concepts/registry.adoc[Registry]
65
** xref:concepts/meters.adoc[Meters]
6+
** xref:concepts/registry.adoc[Registry]
77
** xref:concepts/naming.adoc[Naming Meters]
88
** xref:concepts/meter-filters.adoc[Meter Filters]
99
** xref:concepts/rate-aggregation.adoc[Rate Aggregation]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[[meters]]
22
= Meters
33

4+
A `Meter` is the interface for collecting a set of measurements (which we individually call metrics) about your application.
5+
46
Micrometer supports a set of `Meter` primitives, including `Timer`, `Counter`, `Gauge`, `DistributionSummary`, `LongTaskTimer`, `FunctionCounter`, `FunctionTimer`, and `TimeGauge`. Different meter types result in a different number of time series metrics. For example, while there is a single metric that represents a `Gauge`, a `Timer` measures both the count of timed events and the total time of all timed events.
57

8+
TIP: Recording a measurement for a `Meter` is expected to be a relatively cheap operation and should not throw any exception.
9+
If the xref:./registry.adoc[registry] supports publishing metrics to a monitoring system, this is done in a separate thread snd should not affect recording metrics.
10+
611
A meter is uniquely identified by its name and dimensions. We use the terms, "`dimensions`" and "`tags,`" interchangeably, and the Micrometer interface is `Tag` simply because it is shorter. As a general rule, it should be possible to use the name as a pivot. Dimensions let a particular named metric be sliced to drill down and reason about the data. This means that, if only the name is selected, you can drill down by using other dimensions and reason about the value being shown.

docs/modules/ROOT/pages/concepts/registry.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[registry]]
22
= Registry
33

4-
A `Meter` is the interface for collecting a set of measurements (which we individually call metrics) about your application. Meters in Micrometer are created from and held in a `MeterRegistry`. Each supported monitoring system has an implementation of `MeterRegistry`. How a registry is created varies for each implementation.
4+
Meters in Micrometer are created from and held in a `MeterRegistry`. Each supported monitoring system has an implementation of `MeterRegistry`. How a registry is created varies for each implementation.
55

66
Micrometer includes a `SimpleMeterRegistry` that holds the latest value of each meter in memory and does not export the data anywhere. If you do not yet have a preferred monitoring system, you can get started playing with metrics by using the simple registry:
77

0 commit comments

Comments
 (0)