Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RequestTotal counts the number of received HTTP calls RequestTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "snmp_notifier_requests_total", Help: "Total number of HTTP requests by status code.", }, []string{"code"}, ) // SNMPSentTotal counts the number of SNMP traps sent. SNMPTrapTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "snmp_notifier_traps_total", Help: "Total number of trap by SNMP destination and outcome.", }, []string{"destination", "outcome"}, ) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.