Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Adapter ¶
type Adapter struct { *server.CustomMetricsAdapterServerOptions // RemoteKubeConfigFile is the config used to list pods from the master API server RemoteKubeConfigFile string // DiscoveryInterval is the interval at which discovery information is refreshed DiscoveryInterval time.Duration // Label is the label for the ingress-nginx pods Label string // MetricsPort is the port on the pods that delivers the prometheus format metrics, 10254 by default MetricsPort string // MetricsPath is the path that delivers the metrics, default /metrics MetricsPath string // AverageSamples is the number of samples to consider for a moving average AverageSamples int64 }
Adapter is the adapter that takes nginx metrics and sends them to k8s
Click to show internal directories.
Click to hide internal directories.