Document need for micrometer-jersey2 dependency to get Jersey metrics
Closes gh-18622
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user