/** * @return the known metrics names by this service */ public Set<String> metricsNames() { Set<String> ret = delegate.metricsNames(); return ret; }
/** * @return the known metrics names by this service */ public Set<String> metricsNames() { Set<String> ret = delegate.metricsNames(); return ret; }
@Override public void process(CommandProcess process) { MetricsService metrics = MetricsService.create(process.vertx()); metrics.metricsNames().forEach(name -> { process.write(name + "\n"); }); process.end(); } }