}
protected void register(Vertx vertx, Container container, MetricRegistry registry) {
if (vertx instanceof VertxInternal) {
VertxInternal vertxInternal = (VertxInternal) vertx;
int count = 0;
for (EventExecutor ee : vertxInternal.getEventLoopGroup()) {
if (ee instanceof SingleThreadEventExecutor) {
final SingleThreadEventExecutor executor = (SingleThreadEventExecutor) ee;
try {
registry.register(
name(Utils.DEFAULT_METRIC_PREFIX, this.getClass().getSimpleName(), "executor-" + count++, "pendingTasks"),