Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API manages the /api HTTP endpoint.
func (*API) Metrics ¶
func (api *API) Metrics(w http.ResponseWriter, r *http.Request)
Metrics handles the /api/metrics endpoint.
func (*API) Query ¶
func (api *API) Query(w http.ResponseWriter, r *http.Request)
Query handles the /api/query endpoint.
func (*API) QueryRange ¶
func (api *API) QueryRange(w http.ResponseWriter, r *http.Request)
QueryRange handles the /api/query_range endpoint.
Click to show internal directories.
Click to hide internal directories.