Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance interface { resource.Resource // API Returns the core Prometheus APIs. API() v1.API // WaitForQuiesce runs the provided query periodically until the result gets stable. WaitForQuiesce(fmt string, args ...interface{}) (prom.Value, error) // WaitForOneOrMore runs the provided query and waits until one (or more for vector) values are available. WaitForOneOrMore(fmt string, args ...interface{}) error // Sum all the samples that has the given labels in the given vector value. Sum(val prom.Value, labels map[string]string) (float64, error) }
Click to show internal directories.
Click to hide internal directories.