Remove dependencies on micrometer-jersey2

Closes gh-28706
This commit is contained in:
Stephane Nicoll 2021-11-17 08:56:08 +01:00
parent a02be1b9a2
commit d88658d47a
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ dependencies {
optional("io.dropwizard.metrics:metrics-jmx")
optional("io.lettuce:lettuce-core")
optional("io.micrometer:micrometer-core")
optional("io.micrometer:micrometer-jersey2")
optional("io.micrometer:micrometer-registry-appoptics")
optional("io.micrometer:micrometer-registry-atlas") {
exclude group: "javax.inject", module: "javax.inject"

View File

@ -769,7 +769,7 @@ Applications can opt in and record exceptions by <<web#web.reactive.webflux.erro
[[actuator.metrics.supported.jersey]]
==== Jersey Server Metrics
Auto-configuration enables the instrumentation of all requests handled by the Jersey JAX-RS implementation whenever Micrometer's `micrometer-jersey2` module is on the classpath.
Auto-configuration enables the instrumentation of all requests handled by the Jersey JAX-RS implementation.
By default, metrics are generated with the name, `http.server.requests`.
You can customize the name by setting the configprop:management.metrics.web.server.request.metric-name[] property.