Documentation
¶
Index ¶
- Variables
- func ExtractActorPath(ctx context.Context) []string
- func ExtractHeader(ctx context.Context, name string) string
- func ExtractQueryMetricsMiddleware() middleware.Interface
- func ExtractQueryTagsMiddleware() middleware.Interface
- func PropagateHeadersMiddleware(headers ...string) middleware.Interface
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LokiActorPathHeader is the name of the header e.g. used to enqueue requests in hierarchical queues. LokiActorPathHeader = "X-Loki-Actor-Path" // LokiActorPathDelimiter is the delimiter used to serialise the hierarchy of the actor. LokiActorPathDelimiter = "|" )
View Source
var ( QueryTagsHTTPHeader ctxKey = "X-Query-Tags" QueryQueueTimeHTTPHeader ctxKey = "X-Query-Queue-Time" )
Functions ¶
func ExtractActorPath ¶
func ExtractQueryMetricsMiddleware ¶
func ExtractQueryMetricsMiddleware() middleware.Interface
func ExtractQueryTagsMiddleware ¶
func ExtractQueryTagsMiddleware() middleware.Interface
func PropagateHeadersMiddleware ¶
func PropagateHeadersMiddleware(headers ...string) middleware.Interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.