• Tadaya Tsuyukubo's avatar
    Allow configuration of auto-timed metrics · 4df6f5de
    Tadaya Tsuyukubo authored
    When `management.metrics.web.server.auto-time-requests` is enabled
    (default=true), Spring Boot collects metrics on controller methods even
    when they are not annotated with `@Timed`.
    
    When this happens, created metrics are based on the default
    `@Timed` configuration and there is no way to customize the
    configuration of those auto-timed controller metrics.
    
    This commit adds default configurations to auto-timed requests on both
    client and server sides.
    
    See gh-15988
    4df6f5de
production-ready-features.adoc 75.9 KB