Describe the bug
I believe that if metrics are disabled, then nothing should happen in init. Currently if metrics are disabled JVM metrics are still collected and added to the CompositeRegistry
Versions (OS, Maven, Java, and others, as appropriate):
Affected version(s) of this project: 2.1
A clear and concise description of what you expected to happen.
If metrics are disabled, then we should collect no metrics.
Describe the bug I believe that if metrics are disabled, then nothing should happen in init. Currently if metrics are disabled JVM metrics are still collected and added to the CompositeRegistry
Versions (OS, Maven, Java, and others, as appropriate):
A clear and concise description of what you expected to happen. If metrics are disabled, then we should collect no metrics.