Skip to content

Commit

Permalink
Merge pull request #46685 from jcjveraa/patch-2
Browse files Browse the repository at this point in the history
Micrometer docs moved - fix links
  • Loading branch information
gsmet authored Mar 10, 2025
2 parents 0afec26 + 0daabb6 commit 60cbe47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/main/asciidoc/telemetry-micrometer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include::_attributes.adoc[]
:categories: observability
:summary: Use Micrometer to collect metrics produced by Quarkus, its extensions, and your application.
:base-units: https://github.com/micrometer-metrics/micrometer/blob/main/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/BaseUnits.java
:concepts: https://micrometer.io/docs/concepts
:concepts: https://docs.micrometer.io/micrometer/reference/concepts
:topics: observability,micrometer
:extensions: io.quarkus:quarkus-micrometer

Expand Down Expand Up @@ -188,7 +188,7 @@ For hierarchical systems that only support a flat metric name, Micrometer will f

Tags can be specified when a meter is registered with a `MeterRegistry` or using a <<meter-filter,Meter Filter>>.

See the Micrometer documentation for additional advice on link:{concepts}#_tag_naming[tag naming].
See the Micrometer documentation for additional advice on link:{concepts}/naming[tag naming].

IMPORTANT: Each unique combination of metric name and dimension produces a unique time series.
Using an unbounded set of dimensional data can lead to a "cardinality explosion", an exponential increase in the creation of new time series.
Expand Down Expand Up @@ -279,7 +279,7 @@ Gauge.builder("jvm.threads.peak", threadBean, ThreadMXBean::getPeakThreadCount)
<4> Associate <<define-tags,tags>> with the gauge
<5> Register the Gauge with the MeterRegistry

See link:{concepts}#_gauges[Gauges] in the Micrometer documentation for more information and examples.
See link:{concepts}/gauges[Gauges] in the Micrometer documentation for more information and examples.
Of note are two special cases: `TimeGauge` for measuring time, and a `MultiGauge` for reporting several criteria together.

NOTE: Micrometer does not create strong references to the objects it observes by default.
Expand Down Expand Up @@ -336,7 +336,7 @@ void countThisMethod(){
<1> A CDI interceptor will create and register a counter called `counted.method`
<2> The interceptor-created counter will have the "extra" dimension tag with value "annotated"

See link:{concepts}#_counters[Counters] in the Micrometer documentation for more information and examples, including the less common `FunctionCounter` that can be used to measure the result returned by an always increasing function.
See link:{concepts}/counters[Counters] in the Micrometer documentation for more information and examples, including the less common `FunctionCounter` that can be used to measure the result returned by an always increasing function.

When should you use a counter?
Use a counter if you are doing something that can not be either timed or summarized.
Expand Down Expand Up @@ -478,7 +478,7 @@ sample.stop(registry.timer("my.timer", "response", response.status())); // <3>
==== Histograms and percentiles

Both timers and distribution summaries can be configured to emit additional statistics, like histogram data, precomputed percentiles, or service level objective (SLO) boundaries.
See link:{concepts}#_timers[Timers] and link:{concepts}#_distribution_summaries[Distribution Summaries] in the Micrometer documentation for more information and examples, including memory footprint estimation for both types.
See link:{concepts}/timers[Timers] and link:{concepts}/distribution-summaries[Distribution Summaries] in the Micrometer documentation for more information and examples, including memory footprint estimation for both types.

[IMPORTANT]
====
Expand Down

0 comments on commit 60cbe47

Please sign in to comment.