Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TotalHandlerExecution = prometheus.NewCounterVec( prometheus.CounterOpts{ Subsystem: "norman_generic_controller", Name: "total_handler_execution", Help: "Total count of hanlder executions", }, []string{"name", "handlerName"}, ) TotalHandlerFailure = prometheus.NewCounterVec( prometheus.CounterOpts{ Subsystem: "norman_generic_controller", Name: "total_handler_failure", Help: "Total count of handler failures", }, []string{"name", "handlerName", "key"}, ) )
Functions ¶
func IncTotalHandlerExecution ¶
func IncTotalHandlerExecution(controllerName, handlerName string)
func IncTotalHandlerFailure ¶
func IncTotalHandlerFailure(controllerName, handlerName, key string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.