mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
created metric server.handleRunner.exec_time
This commit is contained in:
@@ -178,6 +178,7 @@ func handleRunner(c *gin.Context) {
|
||||
// Execution time metric
|
||||
metricElapsed := time.Since(metricStart)
|
||||
runner.LogMetricTime(ctx, (metricBaseName + "time"), metricElapsed)
|
||||
runner.LogMetricTime(ctx, "server.handleRunner.exec_time", metricElapsed)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user