Update Started variable to GatewayFunctionInvocationStarted

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2020-03-12 13:47:32 +00:00
committed by Alex Ellis
parent 96812d2cd8
commit c4f924cfb5
3 changed files with 14 additions and 14 deletions

View File

@ -63,7 +63,7 @@ func (p PrometheusFunctionNotifier) Notify(method string, URL string, originalUR
Inc()
} else if event == "started" {
serviceName := getServiceName(originalURL)
p.Metrics.StartedCounter.WithLabelValues(serviceName).Inc()
p.Metrics.GatewayFunctionInvocationStarted.WithLabelValues(serviceName).Inc()
}
}