MP Metrics MetadataBuilder requires name to be set

This commit is contained in:
Rostislav Svoboda
2019-07-17 12:55:43 +02:00
parent 4cde4b42ba
commit 4f993e01bf

View File

@@ -63,6 +63,7 @@ public class QuarkusJaegerMetricsFactory implements MetricsFactory {
static Metadata meta(String name, MetricType type) {
return Metadata.builder()
.withName(name)
.withDisplayName(name)
.withType(type)
.withUnit("none")