Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
1f39b5dd
Commit
1f39b5dd
authored
Nov 23, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align MeterRegistryConfigurer's javadoc with its implementation
Closes gh-15017
parent
8ee57ac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
MeterRegistryConfigurer.java
...ctuate/autoconfigure/metrics/MeterRegistryConfigurer.java
+4
-3
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MeterRegistryConfigurer.java
View file @
1f39b5dd
...
@@ -30,9 +30,7 @@ import org.springframework.boot.util.LambdaSafe;
...
@@ -30,9 +30,7 @@ import org.springframework.boot.util.LambdaSafe;
/**
/**
* Configurer to apply {@link MeterRegistryCustomizer customizers}, {@link MeterFilter
* Configurer to apply {@link MeterRegistryCustomizer customizers}, {@link MeterFilter
* filters}, {@link MeterBinder binders} and {@link Metrics#addRegistry global
* filters}, {@link MeterBinder binders} and {@link Metrics#addRegistry global
* registration} to {@link MeterRegistry meter registries}. This configurer intentionally
* registration} to {@link MeterRegistry meter registries}.
* skips {@link CompositeMeterRegistry} with the assumptions that the registries it
* contains are beans and will be customized directly.
*
*
* @author Jon Schneider
* @author Jon Schneider
* @author Phillip Webb
* @author Phillip Webb
...
@@ -58,6 +56,9 @@ class MeterRegistryConfigurer {
...
@@ -58,6 +56,9 @@ class MeterRegistryConfigurer {
}
}
void
configure
(
MeterRegistry
registry
)
{
void
configure
(
MeterRegistry
registry
)
{
if
(
registry
instanceof
CompositeMeterRegistry
)
{
return
;
}
// Customizers must be applied before binders, as they may add custom
// Customizers must be applied before binders, as they may add custom
// tags or alter timer or summary configuration.
// tags or alter timer or summary configuration.
customize
(
registry
);
customize
(
registry
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment