Skip to content

Instantly share code, notes, and snippets.

@guillaumesmo
guillaumesmo / MainVerticle.java
Created May 29, 2018 21:25 — forked from jpkrohling/MainVerticle.java
The following is a complete Vert.x application demonstrating the Micrometer integration with Jaeger Java Client internal metrics
package io.vertx.starter;
import com.uber.jaeger.Configuration;
import com.uber.jaeger.micrometer.MicrometerMetricsFactory;
import com.uber.jaeger.samplers.ConstSampler;
import io.micrometer.core.instrument.Metrics;
import io.micrometer.prometheus.PrometheusConfig;
import io.micrometer.prometheus.PrometheusMeterRegistry;
import io.opentracing.Span;
import io.opentracing.Tracer;