annotated

package
v0.0.0-...-9649366 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

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.

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL