Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Query sends a GET request to Prometheus with the "query" field // in the URL's query string set using the provided arguments. Query(query string, queryTime time.Time) ([]byte, error) }
Client provides interface for communicating with the Prometheus API.
func NewGCPManagedPrometheusClient ¶
NewGCPManagedPrometheusClient returns an HTTP client for talking to the Google Cloud Managed Service for Prometheus.
Click to show internal directories.
Click to hide internal directories.