Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PromReadURL is the url for native prom read handler PromReadURL = handler.RoutePrefixV1 + "/prom/native/read" // PromReadHTTPMethod is the HTTP method used with this resource. PromReadHTTPMethod = http.MethodGet )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PromReadHandler ¶
type PromReadHandler struct {
// contains filtered or unexported fields
}
PromReadHandler represents a handler for prometheus read endpoint.
func (*PromReadHandler) ServeHTTP ¶
func (h *PromReadHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ReadResponse ¶
ReadResponse is the response that gets returned to the user
Click to show internal directories.
Click to hide internal directories.