package
6.8.15+incompatible
Repository: https://github.com/agilebits/beats.git
Documentation: pkg.go.dev
# Functions
ContainerUID creates an unique ID for from namespace, pod name and container name.
GetLabel returns desired label from the given metric, or "" if not present.
GetWatcher initializes a kubernetes watcher with the given scope (node or cluster), and resource type.
NewContainerMetadataEnricher returns an Enricher configured for container events.
NewPerfMetricsCache initializes and returns a new PerfMetricsCache.
NewResourceMetadataEnricher returns an Enricher configured for kubernetes resource events.
# Variables
PerfMetrics stores known metrics from Kubernetes nodes and containers.
# Structs
PerfMetricsCache stores known metrics from Kubernetes nodes and containers.
# Interfaces
Enricher takes Kubernetes events and enrich them with k8s metadata.