Document need for micrometer-jersey2 dependency to get Jersey metrics

Closes gh-18622
pull/18848/head
Andy Wilkinson 5 years ago
parent 5be562440c
commit d4cd03ebd8

@ -1713,7 +1713,7 @@ To customize the tags, provide a `@Bean` that implements `WebFluxTagsProvider`.
[[production-ready-metrics-jersey-server]]
==== Jersey Server Metrics
Auto-configuration enables the instrumentation of requests handled by the Jersey JAX-RS implementation.
When Micrometer's `micrometer-jersey2` module is on the classpath, auto-configuration enables the instrumentation of requests handled by the Jersey JAX-RS implementation.
When `management.metrics.web.server.auto-time-requests` is `true`, this instrumentation occurs for all requests.
Alternatively, when set to `false`, you can enable instrumentation by adding `@Timed` to a request-handling method:

Loading…
Cancel
Save