Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrometheusLabelStatus = "status" PrometheusLabelMsgType = "msg_type" PrometheusValueReceived = "Received" PrometheusValueAccepted = "Accepted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgMetrics ¶
type MsgMetrics struct {
NumMsgs *prometheus.CounterVec
}
func NewPrometheusMsgMetrics ¶
func NewPrometheusMsgMetrics(module string) *MsgMetrics
Click to show internal directories.
Click to hide internal directories.