Class JettyServerThreadPoolMetrics
java.lang.Object
io.micrometer.core.instrument.binder.jetty.JettyServerThreadPoolMetrics
- All Implemented Interfaces:
MeterBinder
MeterBinder
for Jetty ThreadPool
.
Pass the ThreadPool
used with the Jetty Server
. For example:
QueuedThreadPool threadPool = new QueuedThreadPool();
Server server = new Server(threadPool);
new JettyServerThreadPoolMetrics(threadPool, tags).bindTo(registry);
- Since:
- 1.1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionJettyServerThreadPoolMetrics
(org.eclipse.jetty.util.thread.ThreadPool threadPool, Iterable<Tag> tags) -
Method Summary
-
Constructor Details
-
JettyServerThreadPoolMetrics
-
-
Method Details
-
bindTo
- Specified by:
bindTo
in interfaceMeterBinder
-