Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MissingParentErrors = promauto.NewCounterVec(prometheus.CounterOpts{ Name: consts.MetricNamePrefix + "exec_missing_parent_errors", Help: "The total of times a given parent exec id could not be found in an exec event.", ConstLabels: nil, }, []string{"parent_exec_id"}) SameExecIdErrors = promauto.NewCounterVec(prometheus.CounterOpts{ Name: consts.MetricNamePrefix + "exec_parent_child_same_id_errors", Help: "The total of times an error occurs due to a parent and child process have the same exec id.", ConstLabels: nil, }, []string{"exec_id"}) )
Functions ¶
func GetMissingParent ¶
func GetMissingParent(execId string) prometheus.Counter
Get a new handle on the missingParentErrors metric for an execId
func GetSameExecId ¶
func GetSameExecId(execId string) prometheus.Counter
Get a new handle on the sameExecIdErrors metric for an execId
func MissingParentInc ¶
func MissingParentInc(execId string)
Increment the missingParentErrors metric for an execId
func SameExecIdInc ¶
func SameExecIdInc(execId string)
Increment the sameExecIdErrors metric for an execId
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.