org.zalando.axiom.web.krueger.AppMetricsService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-krueger Show documentation
Show all versions of vertx-krueger Show documentation
This library creates vertx web endpoints exposing application metrics that can be consumed by Krueger (https://github.com/zalando/krueger-cockpit)
package org.zalando.axiom.web.krueger
import io.vertx.core.AsyncResultHandler
import io.vertx.core.Vertx
import org.zalando.axiom.web.krueger.metrics.AppMetricsSupplier
class AppMetricsService(val vertx: Vertx, val metricsSuppliers: List) {
fun getMetrics(handler: AsyncResultHandler