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: "Requests processed, by status code.", }, []string{"code"}, ) // SNMPSentTotal counts the number of SNMP traps sent. SNMPSentTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "snmp_notifier_trap_sent_total", Help: "Traps sent, by SNMP destination.", }, []string{}, ) // SNMPErrorTotal counts the number of SNMP traps in error. SNMPErrorTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "snmp_notifier_trap_error_total", Help: "Traps send errors, by SNMP destination.", }, []string{}, ) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.