Skip to content

Commit

Permalink
Maybe metrics will be better if I standardize some of the label values
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaFox161 committed Mar 18, 2024
1 parent fbd60eb commit 84d6da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -48,6 +48,6 @@ class AnnouncementCronJob(
}
}
taskTimer.stop()
metricService.recordAnnouncementTaskDuration("overall", taskTimer.totalTimeMillis)
metricService.recordAnnouncementTaskDuration("cronjob", taskTimer.totalTimeMillis)
}
}
Expand Up @@ -55,7 +55,7 @@ class StaticMessageUpdateCronJob(
LOGGER.error(DEFAULT, "StaticMessageUpdateCronJob failure", ex)
} finally {
taskTimer.stop()
metricService.recordStaticMessageTaskDuration("overall", taskTimer.totalTimeMillis)
metricService.recordStaticMessageTaskDuration("cronjob", taskTimer.totalTimeMillis)
}
}
}

0 comments on commit 84d6da2

Please sign in to comment.