Skip to content

Commit

Permalink
FDP-1811: Update timer metric and description
Browse files Browse the repository at this point in the history
Signed-off-by: Jasper Kamerling <[email protected]>
  • Loading branch information
jasperkamerling committed Dec 7, 2023
1 parent 1d14ae8 commit 78574e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 78574e7

Please sign in to comment.