Skip to content

Commit c2df79a

Browse files
Merge pull request #1219 from IABTechLab/sch-UID2-4560-adding-gauge-for-number-of-request-processing-threads
sch-UID2-4560 renamed gauge for vertx service instances and event loops
2 parents 4f094c8 + 1c254fe commit c2df79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/uid2/operator/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,13 @@ public DistributionStatisticConfig configure(Meter.Id id, DistributionStatisticC
470470
}
471471

472472
private void createVertxInstancesMetric() {
473-
Gauge.builder("uid2.operator.vertx_service_instances", () -> config.getInteger("service_instances"))
473+
Gauge.builder("uid2.vertx_service_instances", () -> config.getInteger("service_instances"))
474474
.description("gauge for number of vertx service instances requested")
475475
.register(Metrics.globalRegistry);
476476
}
477477

478478
private void createVertxEventLoopsMetric() {
479-
Gauge.builder("uid2.operator.vertx_event_loop_threads", () -> VertxOptions.DEFAULT_EVENT_LOOP_POOL_SIZE)
479+
Gauge.builder("uid2.vertx_event_loop_threads", () -> VertxOptions.DEFAULT_EVENT_LOOP_POOL_SIZE)
480480
.description("gauge for number of vertx event loop threads")
481481
.register(Metrics.globalRegistry);
482482
}

0 commit comments

Comments
 (0)