Class MoreMeterBinders
java.lang.Object
com.linecorp.armeria.common.metric.MoreMeterBinders
Provides useful
MeterBinder
s to monitor various Armeria components.-
Method Summary
Modifier and TypeMethodDescriptionstatic MeterBinder
eventLoopMetrics
(EventLoopGroup eventLoopGroup, String name) Returns a newMeterBinder
to observe Netty'sEventLoopGroup
s.
-
Method Details
-
eventLoopMetrics
Returns a newMeterBinder
to observe Netty'sEventLoopGroup
s. The following stats are currently exported per registeredMeterIdPrefix
.- "event.loop.workers" (gauge) - the total number of Netty's event loops
- "event.loop.pending.tasks" (gauge) - the total number of IO tasks waiting to be run on event loops
-