Introduce gateway_function_invocation_total to track individual functions

Introduce prometheus_alertmanager into stack - have it fire into webhook stash
This commit is contained in:
Alex
2017-01-21 10:11:33 +00:00
parent a9e72cd0a3
commit ab2f8e85f3
8 changed files with 118 additions and 8 deletions

View File

@ -11,6 +11,7 @@ type MetricOptions struct {
GatewayRequestsTotal prometheus.Counter
GatewayServerlessServedTotal prometheus.Counter
GatewayFunctions prometheus.Histogram
GatewayFunctionInvocation *prometheus.CounterVec
}
// PrometheusHandler Bootstraps prometheus for metrics collection