mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Merge pull request #103 from iron-io/new-metrics
metrics added: wait time total and reserved memory
This commit is contained in:
@@ -102,7 +102,8 @@ func (r *Runner) queueHandler() {
|
||||
}
|
||||
|
||||
metricBaseName := fmt.Sprintf("run.%s.", task.cfg.AppName)
|
||||
r.ml.LogTime(task.ctx, metricBaseName+"waittime", waitTime)
|
||||
r.ml.LogTime(task.ctx, metricBaseName+"wait_time", waitTime)
|
||||
r.ml.LogTime(task.ctx, "run.wait_time", waitTime)
|
||||
|
||||
if timedOut {
|
||||
// Send to a signal to this task saying it cannot run
|
||||
|
||||
Reference in New Issue
Block a user