File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/uid2/admin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ private static void setupMetrics(MicrometerMetricsOptions metricOptions) {
440440 // retrieve image version (will unify when uid2-common is used)
441441 String version = Optional .ofNullable (System .getenv ("IMAGE_VERSION" )).orElse ("unknown" );
442442 Gauge appStatus = Gauge
443- .builder ("app.status " , () -> 1 )
443+ .builder ("app_status " , () -> 1 )
444444 .description ("application version and status" )
445445 .tags ("version" , version )
446446 .register (Metrics .globalRegistry );
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public JobDispatcher(
3939 this .maxRetries = maxRetries ;
4040 this .clock = clock ;
4141
42- Gauge .builder ("uid2.job_dispatcher.execution_duration_ms " , this ::getExecutionDuration )
42+ Gauge .builder ("uid2_job_dispatcher_execution_duration_ms " , this ::getExecutionDuration )
4343 .tag ("job_dispatcher" , id )
4444 .description ("gauge for " + id + " execution time" )
4545 .register (Metrics .globalRegistry );
You can’t perform that action at this time.
0 commit comments