Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(prom client.Client, mapper apimeta.RESTMapper, cfg *config.ResourceRules) (provider.MetricsProvider, error)
NewProvider constructs a new MetricsProvider to provide resource metrics from Prometheus using the given rules.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.