diff --git a/application/src/main/kotlin/org/gxf/soapbridge/monitoring/MonitoringService.kt b/application/src/main/kotlin/org/gxf/soapbridge/monitoring/MonitoringService.kt index 6fa0d0f..6547f85 100644 --- a/application/src/main/kotlin/org/gxf/soapbridge/monitoring/MonitoringService.kt +++ b/application/src/main/kotlin/org/gxf/soapbridge/monitoring/MonitoringService.kt @@ -15,7 +15,7 @@ class MonitoringService( companion object { private const val METRIC_PREFIX = "gxf.soap.bridge" const val CACHE_SIZE_METRIC = "${METRIC_PREFIX}.cache.size" - const val CONNECTION_TIMER_METRIC = "${METRIC_PREFIX}.cache.size" + const val CONNECTION_TIMER_METRIC = "${METRIC_PREFIX}.request.timer" const val CONNECTION_TIMER_CONTEXT_TAG = "context" const val CONNECTION_TIMER_SUCCESSFUL_TAG = "successful" @@ -45,7 +45,7 @@ class MonitoringService( Timer .builder(CONNECTION_TIMER_METRIC) - .description("Counts the request time of a soap call") + .description("The time it takes to handle an incoming soap request") .tag(CONNECTION_TIMER_CONTEXT_TAG, context) .tag(CONNECTION_TIMER_SUCCESSFUL_TAG, successful.toString()) .register(registry)