Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvokeKubernetesServiceDiscovery ¶
InvokeKubernetesServiceDiscovery creates a Kubernetes service discovery.
Types ¶
type FxIn ¶
type FxIn struct { fx.In Unmarshaller config.Unmarshaller Lifecycle fx.Lifecycle StatusRegistry status.Registry KubernetesClient k8s.K8sClient EntityTrackers notifiers.Trackers `name:"entity_trackers"` }
FxIn describes parameters passed to k8s discovery constructor.
type KubernetesDiscovery ¶
type KubernetesDiscovery struct {
// contains filtered or unexported fields
}
KubernetesDiscovery is a collector that collects Kubernetes information periodically.
type KubernetesDiscoveryConfig ¶
type KubernetesDiscoveryConfig struct { // NodeName is the name of the k8s node the agent should be monitoring NodeName string `json:"node_name"` PodName string `json:"pod_name"` DiscoveryEnabled bool `json:"discovery_enabled" default:"true"` }
KubernetesDiscoveryConfig for Kubernetes service discovery. swagger:model
Click to show internal directories.
Click to hide internal directories.