processexecmetrics

package
v0.8.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL