Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MergeErrors = promauto.NewCounterVec(prometheus.CounterOpts{ Name: consts.MetricNamePrefix + "generic_kprobe_merge_errors", Help: "The total number of failed attempts to merge a kprobe and kretprobe event.", ConstLabels: nil, }, []string{"curr_fn", "curr_type", "prev_fn", "prev_type"}) MergeOkTotal = promauto.NewCounter(prometheus.CounterOpts{ Name: consts.MetricNamePrefix + "generic_kprobe_merge_ok_total", Help: "The total number of successful attempts to merge a kprobe and kretprobe event.", ConstLabels: nil, }) MergePushed = promauto.NewCounter(prometheus.CounterOpts{ Name: consts.MetricNamePrefix + "generic_kprobe_merge_pushed", Help: "The total number of pushed events for later merge.", ConstLabels: nil, }) )
Functions ¶
func GetMergeErrors ¶
func GetMergeErrors(currFn, currType, prevFn, prevType string) prometheus.Counter
Get a new handle on the mergeErrors metric for a current and previous function name and probe type
func MergeErrorsInc ¶
func MergeErrorsInc(currFn, currType, prevFn, prevType string)
Increment the mergeErrors metric for a current and previous function name and probe type
func MergeOkTotalInc ¶
func MergeOkTotalInc()
func MergePushedInc ¶
func MergePushedInc()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.