package
0.0.0-20240216081233-64e3f117d238
Repository: https://github.com/dfroberg/metrics-agent.git
Documentation: pkg.go.dev
# Functions
CollectKubeMetrics Collects metrics from Kubernetes on a predetermined interval.
NewClientsetNodeSource returns a ClientsetNodeSource with the given clientSet.
SendData takes Cloudability metric sample and sends data to Cloudability via go client.
# Constants
No description provided by the author
No description provided by the author
0001 = 1.
No description provided by the author
NodeStatsSummaryEndpoint the /stats/summary endpoint.
0010 = 2.
Unreachable defined at end to avoid affecting iota, as it should always be set to 0.
# Structs
ClientsetNodeSource implements NodeSource interface.
ClusterVersion contains a concatenated version number as well as the k8s version discovery info.
No description provided by the author
KubeAgentConfig K8s agent configuration.
# Interfaces
NodeSource is an interface to get a list of Nodes.
# Type aliases
Connection is a bitmask that describes the manner(s) in which the agent can connect to an endpoint.
Endpoint represents the various metrics endpoints we hit.
EndpointMask a map representing the currently active endpoints.