Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryHandler ¶
EntryHandler is something that can "handle" entries.
type EntryHandlerFunc ¶
EntryHandlerFunc is modelled on http.HandlerFunc.
type EntryMiddleware ¶
type EntryMiddleware interface {
Wrap(next EntryHandler) EntryHandler
}
EntryMiddleware is something that takes on EntryHandler and produces another.
func AddLabelsMiddleware ¶
func AddLabelsMiddleware(additionalLabels model.LabelSet) EntryMiddleware
AddLabelsMiddleware is an EntryMiddleware that adds some labels.
type EntryMiddlewareFunc ¶
type EntryMiddlewareFunc func(next EntryHandler) EntryHandler
EntryMiddlewareFunc is modelled on http.HandlerFunc.
func (EntryMiddlewareFunc) Wrap ¶
func (e EntryMiddlewareFunc) Wrap(next EntryHandler) EntryHandler
Wrap implements EntryMiddleware.
type InstrumentedEntryHandler ¶
type InstrumentedEntryHandler interface { EntryHandler UnregisterLatencyMetric(labels model.LabelSet) }
Click to show internal directories.
Click to hide internal directories.