Tracer instance is created with custom metrics factory, so it would expose internal metrics to + * prometheus server + * + *
Tracer is also wrapped in custom metrics reporter, which would report data about traced spans
+ * and expose them as prometheus metrics
+ */
+@Singleton
+public class MeteredTracerProvider implements Provider This reporter is configured to report all spans with "span.kind" server, as well as provide
+ * additional label "http.status_code", if such tag is available in the span.
+ *
+ * When defining tags , if "Default value" will be null, then the spans which don't have such
+ * tag, then will not be reported.
+ *
+ * Visit https://github.com/opentracing-contrib/java-metrics to find out about how to configure
+ * reporter.
+ */
+@Singleton
+public class MicrometerMetricsReporterProvider implements Provider