Documentation ¶
Index ¶
- Variables
- func EventCacheError(er CacheError, eventType tetragon.EventType) prometheus.Counter
- func EventCacheRetries(entryType CacheEntryType) prometheus.Counter
- func InitMetrics(registry *prometheus.Registry)
- func ParentInfoError(eventType tetragon.EventType) prometheus.Counter
- func PodInfoError(eventType tetragon.EventType) prometheus.Counter
- func ProcessInfoError(eventType tetragon.EventType) prometheus.Counter
- type CacheEntryType
- type CacheError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventCacheCount = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: consts.MetricsNamespace, Name: "event_cache_accesses_total", Help: "The total number of Tetragon event cache accesses. For internal use only.", ConstLabels: nil, }) )
Functions ¶
func EventCacheError ¶ added in v1.1.0
func EventCacheError(er CacheError, eventType tetragon.EventType) prometheus.Counter
Get a new handle on an eventCacheErrorsTotal metric for an error
func EventCacheRetries ¶ added in v1.1.0
func EventCacheRetries(entryType CacheEntryType) prometheus.Counter
Get a new handle on an eventCacheRetriesTotal metric for an entryType
func InitMetrics ¶ added in v0.11.0
func InitMetrics(registry *prometheus.Registry)
func ParentInfoError ¶ added in v1.1.0
func ParentInfoError(eventType tetragon.EventType) prometheus.Counter
Get a new handle on an processInfoErrors metric for an eventType
func PodInfoError ¶
func PodInfoError(eventType tetragon.EventType) prometheus.Counter
Get a new handle on a podInfoErrors metric for an eventType
func ProcessInfoError ¶
func ProcessInfoError(eventType tetragon.EventType) prometheus.Counter
Get a new handle on a processInfoErrors metric for an eventType
Types ¶
type CacheEntryType ¶ added in v1.1.0
type CacheEntryType int
const ( ProcessInfo CacheEntryType = iota ParentInfo PodInfo )
func (CacheEntryType) String ¶ added in v1.1.0
func (t CacheEntryType) String() string
type CacheError ¶ added in v1.1.0
type CacheError int
const (
NilProcessPid CacheError = iota
)
func (CacheError) String ¶ added in v1.1.0
func (e CacheError) String() string
Click to show internal directories.
Click to hide internal directories.