mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 21:56:32 +00:00
Update Started variable to GatewayFunctionInvocationStarted
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
96812d2cd8
commit
c4f924cfb5
@ -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()
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user