Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CgroupRateTotal = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "cgroup_rate_total", Help: "The total number of Tetragon cgroup rate counters. For internal use only.", ConstLabels: nil, }, []string{"type"}) )
Functions ¶
func CgroupRateTotalInc ¶
func CgroupRateTotalInc(er CgroupRateType)
Increment an CgroupRateTotal for an CgroupRateType
func GetCgroupRateTotal ¶
func GetCgroupRateTotal(cr CgroupRateType) prometheus.Counter
Get a new handle on an ErrorTotal metric for an ErrorType
func RegisterMetrics ¶
Types ¶
type CgroupRateType ¶
type CgroupRateType int
const ( ThrottleStart CgroupRateType = iota ThrottleStop LookupFail UpdateFail DeleteFail Check Process Delete )
func (CgroupRateType) String ¶
func (e CgroupRateType) String() string
Click to show internal directories.
Click to hide internal directories.