Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // If true, connect to an existing prometheus rather than creating a new one SkipDeploy bool }
type Instance ¶
type Instance interface { resource.Resource // API Returns the core Prometheus APIs. API() v1.API APIForCluster(cluster cluster.Cluster) v1.API // Query run the provided PromQL against the given cluster RawQuery(cluster cluster.Cluster, promQL string) (prom.Value, error) // Query Run the provided query against the given cluster Query(cluster cluster.Cluster, query Query) (prom.Value, error) // QuerySum is a help around Query to compute the sum QuerySum(cluster cluster.Cluster, query Query) (float64, error) }
Click to show internal directories.
Click to hide internal directories.