Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MissingParentErrors = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "exec_missing_parent_errors_total", 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 = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "exec_parent_child_same_id_errors_total", 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 InitMetrics ¶ added in v0.11.0
func InitMetrics(registry *prometheus.Registry)
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.