Browse Source

Merge pull request #42467 from ngocnhan-tran1996

* pr/42467:
  Fix links to Micrometer reference doc

Closes gh-42467
pull/42700/head
Stéphane Nicoll 1 year ago
parent
commit
da1edd3833
  1. 4
      spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/metrics.adoc
  2. 2
      spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/observability.adoc

4
spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/metrics.adoc

@ -1126,7 +1126,7 @@ Metrics for Jetty's `Connector` instances are bound by using Micrometer's `Jetty @@ -1126,7 +1126,7 @@ Metrics for Jetty's `Connector` instances are bound by using Micrometer's `Jetty
=== @Timed Annotation Support
To enable scanning of `@Timed` annotations, you will need to set the configprop:management.observations.annotations.enabled[] property to `true`.
Please refer to the {url-micrometer-docs-concepts}#_the_timed_annotation[Micrometer documentation].
Please refer to the {url-micrometer-docs-concepts}/timers.html#_the_timed_annotation[Micrometer documentation].
@ -1236,7 +1236,7 @@ configurable buffer length. @@ -1236,7 +1236,7 @@ configurable buffer length.
| Publish a cumulative histogram with buckets defined by your service-level objectives.
|===
For more details on the concepts behind `percentiles-histogram`, `percentiles`, and `slo`, see the {url-micrometer-docs-concepts}#_histograms_and_percentiles[Histograms and percentiles] section of the Micrometer documentation.
For more details on the concepts behind `percentiles-histogram`, `percentiles`, and `slo`, see the {url-micrometer-docs-concepts}/histogram-quantiles.html[Histograms and percentiles] section of the Micrometer documentation.

2
spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/observability.adoc

@ -105,4 +105,4 @@ The next sections will provide more details about logging, metrics and traces. @@ -105,4 +105,4 @@ The next sections will provide more details about logging, metrics and traces.
== Micrometer Observation Annotations support
To enable scanning of metrics and tracing annotations like `@Timed`, `@Counted`, `@MeterTag` and `@NewSpan` annotations, you will need to set the configprop:management.observations.annotations.enabled[] property to `true`.
This feature is supported Micrometer directly. Please refer to the {url-micrometer-docs-concepts}#_the_timed_annotation[Micrometer] and {url-micrometer-tracing-docs}/api.html#_aspect_oriented_programming[Micrometer Tracing] reference docs.
This feature is supported Micrometer directly. Please refer to the {url-micrometer-docs-concepts}/timers.html#_the_timed_annotation[Micrometer] and {url-micrometer-tracing-docs}/api.html#_aspect_oriented_programming[Micrometer Tracing] reference docs.

Loading…
Cancel
Save