Versions in this module Expand all Collapse all v1 v1.15.12 Apr 4, 2023 Changes in this version + const AND + const DefaultSignalFxAddress + const EnableOpenShiftAuth + const InsecureSkipVerify + const K8sClientName + const KubeConfig + const MetricsProviderAddressKey + const MetricsProviderNameKey + const MetricsProviderTokenKey + const PromClientName + const SignalFxClientName + func Ping(client http.Client, url string) (int, error) + type MetricsProviderClient interface + FetchAllHostsMetrics func(window *metricstype.Window) (map[string][]metricstype.Metric, error) + FetchHostMetrics func(host string, window *metricstype.Window) ([]metricstype.Metric, error) + Healthy func() (int, error) + Name func() string + func NewMetricsProvider() (MetricsProviderClient, error) + func NewMetricsServerClient() (MetricsProviderClient, error) + func NewPromClient(opts MetricsProviderOpts) (MetricsProviderClient, error) + func NewSignalFxClient(opts MetricsProviderOpts) (MetricsProviderClient, error) + type MetricsProviderOpts struct + Address string + AuthToken string + InsecureSkipVerify bool + Name string + var EnvMetricProviderOpts MetricsProviderOpts + type PromMethod = string + const Avg + const Latest + const Std + type PromResource = string + const KubeNodeStatusCapacity + const NodeCpuNum + const NodeCpuRateSum + const NodeCpuRatio + const NodeCpuUtilRate5m + const NodeDiskIOTimeSecondsRate5m + const NodeDiskIOTimeWeightedSecondsRate5m + const NodeMemoryUtilRatio + const NodeNetworkReceiveBytes + const NodeNetworkReceiveBytesExcludinglo5m + const NodeNetworkReceiveDropBytesExcludinglo5m + const NodeNetworkTotalBytesExcludinglo5m + const NodeNetworkTransmitBytes + const NodeNetworkTransmitBytesExcludinglo5m + const NodeNetworkTransmitDropBytesExcludinglo5m + const NodeRunningPodCount + type PromSQL = string + const PodClassOfNodeName + const PromSQLNodeDiskReadUtilRate + const PromSQLNodeDiskSaturation5m + const PromSQLNodeDiskTotalUtilRate + const PromSQLNodeDiskUtilRate5m + const PromSQLNodeDiskWriteUtilRate