Documentation
¶
Index ¶
Constants ¶
View Source
const (
// PromReadURL is the url for native prom read handler
PromReadURL = "/api/v1/prom/native/read"
)
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.