Skip to content

Some metrics-related beans are only created when using Java 7 #6985

Closed
@wilkinsona

Description

@wilkinsona

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 "An InMemoryMetricRepository is always created unless another MetricRepository 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions