Documentation ¶
Index ¶
Constants ¶
View Source
const ( // WriteURL is the URL for the annotated write handler. WriteURL = handler.RoutePrefixExperimental + "/prom/remote/annotated/write" // WriteHTTPMethod is the HTTP method for the annotated write handler. WriteHTTPMethod = http.MethodPost )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler( writer ingest.DownsamplerAndWriter, tagOptions models.TagOptions, scope tally.Scope, ) *Handler
NewHandler returns a new HTTP handler for writing annotated datapoints.
Click to show internal directories.
Click to hide internal directories.