Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sch-UID2-4560 renamed gauge for vertx service instances and event loops #196

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/com/uid2/core/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ private static void setupMetrics(MicrometerMetricsOptions metricOptions) {
}

private static void createVertxInstancesMetric() {
Gauge.builder("uid2.core.vertx_service_instances", () -> vertxServiceInstances)
Gauge.builder("uid2.vertx_service_instances", () -> vertxServiceInstances)
.description("gauge for number of vertx service instances requested")
.register(Metrics.globalRegistry);
}

private static void createVertxEventLoopsMetric() {
Gauge.builder("uid2.core.vertx_event_loop_threads", () -> VertxOptions.DEFAULT_EVENT_LOOP_POOL_SIZE)
Gauge.builder("uid2.vertx_event_loop_threads", () -> VertxOptions.DEFAULT_EVENT_LOOP_POOL_SIZE)
.description("gauge for number of vertx event loop threads")
.register(Metrics.globalRegistry);
}
Expand Down
Loading