Document need for micrometer-jersey2 dependency to get Jersey metrics
Closes gh-18622
This commit is contained in:
parent
5be562440c
commit
d4cd03ebd8
|
@ -1713,7 +1713,7 @@ To customize the tags, provide a `@Bean` that implements `WebFluxTagsProvider`.
|
||||||
|
|
||||||
[[production-ready-metrics-jersey-server]]
|
[[production-ready-metrics-jersey-server]]
|
||||||
==== Jersey Server Metrics
|
==== 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.
|
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:
|
Alternatively, when set to `false`, you can enable instrumentation by adding `@Timed` to a request-handling method:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue