Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MsgOpsCount = promauto.NewCounterVec(prometheus.CounterOpts{ Name: consts.MetricNamePrefix + "msg_op_total", Help: "The total number of times we encounter a given message opcode. For internal use only.", ConstLabels: nil, }, []string{"msg_op"}) )
Functions ¶
func GetOpTotal ¶
func GetOpTotal(op ops.OpCode) prometheus.Counter
Get a new handle on a msgOpsCount metric for an OpCode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.