metrics

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTypeLabel string = "event_type"
	EventIDLabel   string = "event_id"
	ExporterName   string = "exporter"
)

Variables

View Source
var (
	ControllerImagesCount = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kvisor_controller_images_count",
	})

	ControllerPendingImagesCount = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "kvisor_controller_pending_images_count",
	})

	AgentPulledEventsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_kernel_pulled_events_total",
		Help: "Counter for tracking pulled events from kernel rate",
	})

	AgentPulledEventsBytesTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_kernel_pulled_events_bytes_total",
		Help: "Counter for tracking pulled events bytes from kernel rate",
	})

	AgentKernelLostEventsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_kernel_lost_events_total",
		Help: "Counter for tracking lost events from kernel rate",
	})

	AgentSkippedEventsTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "kvisor_agent_skipped_events_total",
		Help: "Counter for tracking skipped events rate",
	}, []string{EventIDLabel})

	AgentExportedEventsTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "kvisor_agent_exported_events_total",
		Help: "Counter for tracking exported events rate",
	}, []string{EventTypeLabel})

	AgentDroppedEventsTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "kvisor_agent_dropped_events_total",
		Help: "Counter for tracking dropped events rate",
	}, []string{EventTypeLabel})

	AgentDecodeEventErrorsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_decode_event_errors_total",
		Help: "Counter for agent decode events errors rate",
	})

	AgentAnalyzersQueueDroppedEventsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_analyzers_queue_dropped_events_total",
		Help: "Counter for agent analyzers dropped events rate",
	})

	AgentLoadContainerByCgroup = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_load_container_by_cgroup_total",
		Help: "Counter for tracking amount of containers loaded by cgroup rather than via container id",
	})

	AgentDNSPacketsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_dns_packets_total",
		Help: "Counter for tracking the total number of DNS events we received to process",
	})

	AgentFindCgroupFS = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_find_cgroup_from_filesystem",
		Help: "Counter for keeping track how often we fall back to finding cgroups via the filesystem",
	})

	AgentExporterSendTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "kvisor_agent_exporter_send_total",
		Help: "Dropped exporter events",
	}, []string{ExporterName})

	AgentExporterSendErrorsTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "kvisor_agent_exporter_send_errors_total",
		Help: "Dropped exporter events",
	}, []string{ExporterName})

	AgentExporterQueueDroppedTotal = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "kvisor_agent_exporter_queue_dropped_total",
		Help: "Dropped exporter events",
	}, []string{ExporterName})

	AgentFetchKubeIPInfoErrorsTotal = promauto.NewCounter(prometheus.CounterOpts{
		Name: "kvisor_agent_fetch_kube_ip_info_errors_total",
		Help: "Counter for tracking kube info calls errors",
	})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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