Closed
Description
Beyond the Java 8-specific implementations, there are some differences in the metrics-related beans that are created when using Java 7 versus Java 8:
InMemoryMetricRepository
is only created when using Java 7 but the javadoc states that "AnInMemoryMetricRepository
is always created unless anotherMetricRepository
provided by the user"- An
@ActuatorMetricWriter
-qualifed bean is only created when using Java 7
This relates to #6982 as it's not clear what should and should not be removed for Boot 2.0 where we require Java 8.
@dsyer Can you remember what the intention was here?
At the least, I think we need to update the javadoc for the auto-configuration.