Skip to content

Commit cccf9c2

Browse files
committed
Merge pull request #22740 from izeye
* pr/22740: Polish Closes gh-22740
2 parents 94644f3 + 1017774 commit cccf9c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,7 +2108,7 @@ To register custom metrics, inject `MeterRegistry` into your component, as shown
21082108
include::{code-examples}/actuate/metrics/MetricsMeterRegistryInjectionExample.java[tag=component]
21092109
----
21102110

2111-
If you metrics depend on other beans, it is recommend that you use a `MeterBinder` to register them, as shown in the following example:
2111+
If your metrics depend on other beans, it is recommended that you use a `MeterBinder` to register them, as shown in the following example:
21122112

21132113
[source,java,indent=0]
21142114
----
@@ -2117,7 +2117,7 @@ include::{code-examples}/actuate/metrics/SampleMeterBinderConfiguration.java[tag
21172117

21182118
Using a `MeterBinder` ensures that the correct dependency relationships are set up and that the bean is available when the metric's value is retrieved.
21192119
By default, metrics from all `MeterBinder` beans will be automatically bound to the Spring-managed `MeterRegistry`.
2120-
A `MeterBinder` implementation can also be useful if you find that you repeatedly instrument a suite of metrics across components or applications..
2120+
A `MeterBinder` implementation can also be useful if you find that you repeatedly instrument a suite of metrics across components or applications.
21212121

21222122

21232123

0 commit comments

Comments
 (0)