Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Micrometer#useRegistry, remove notion of Clock (#3128)
This commit reworks the `reactor-core-micrometer` `Micrometer` API to simplify things a bit and make the use of MeterRegistry more explicit: - remove `useRegistry` and the notion of a default global registry - remove `metrics()` and `metrics(MeterRegistry, Clock)` - replace the above by `metrics(MeterRegistry)` The `Clock` parameter was a bit redundant, as it can always be provided through the `MeterRegistry#config()`. For example: ``` new SimpleMeterRegistry(SimpleConfig.DEFAULT, myCustomClock); ``` This is a breaking change compared to previous milestones only.
- Loading branch information
1 parent
d4bb1f8
commit 687fdf8
Showing
8 changed files
with
34 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.