Commit bb60edac authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish

Closes gh-13534
parent d4d16927
......@@ -68,7 +68,7 @@ import org.springframework.core.env.Environment;
*
* <pre class="code">
* &#064;EndpointWebExtension(endpoint = MyEndpoint.class)
* class MyEndpointWebExtension {
* public class MyEndpointWebExtension {
*
* }</pre>
* <p>
......
......@@ -83,7 +83,7 @@ public class WebClientMetricsAutoConfigurationTests {
this.contextRunner.withUserConfiguration(CustomTagsProviderConfig.class)
.run((context) -> assertThat(context)
.getBeans(WebClientExchangeTagsProvider.class).hasSize(1)
.containsKey("customTagProvider"));
.containsKey("customTagsProvider"));
}
@Test
......@@ -113,7 +113,7 @@ public class WebClientMetricsAutoConfigurationTests {
protected static class CustomTagsProviderConfig {
@Bean
public WebClientExchangeTagsProvider customTagProvider() {
public WebClientExchangeTagsProvider customTagsProvider() {
return mock(WebClientExchangeTagsProvider.class);
}
......
......@@ -270,8 +270,8 @@ public class JacksonAutoConfiguration {
}
private void configureVisibility(Jackson2ObjectMapperBuilder builder,
Map<PropertyAccessor, JsonAutoDetect.Visibility> accessors) {
accessors.forEach(builder::visibility);
Map<PropertyAccessor, JsonAutoDetect.Visibility> visibilities) {
visibilities.forEach(builder::visibility);
}
private void configureDateFormat(Jackson2ObjectMapperBuilder builder) {
......
......@@ -80,7 +80,7 @@ public class HibernateProperties {
* Determine the configuration properties for the initialization of the main Hibernate
* EntityManagerFactory based on standard JPA properties and
* {@link HibernateSettings}.
* @param jpaProperties standard jpa properties
* @param jpaProperties standard JPA properties
* @param settings the settings to apply when determining the configuration properties
* @return the Hibernate properties to use
*/
......
......@@ -1867,8 +1867,8 @@ include::{code-examples}/actuate/metrics/MetricsFilterBeanExample.java[tag=confi
[[production-ready-metrics-common-tags]]
==== Common tags
Common tag are generally used for dimensional drill-down on the operating environment like
host, instance, region, stack, etc. Commons tags applied to all meters and can be
Common tags are generally used for dimensional drill-down on the operating environment like
host, instance, region, stack, etc. Commons tags are applied to all meters and can be
configured as shown in the following example:
[source,properties,indent=0]
......@@ -1877,7 +1877,7 @@ configured as shown in the following example:
management.metrics.tags.stack=prod
----
The example above adds a `region` and `stack` tags to all meters with a value of
The example above adds `region` and `stack` tags to all meters with a value of
`us-east-1` and `prod` respectively.
NOTE: The order of common tags is important if you are using Graphite. As the order of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment