MCPcopy
hub / github.com/grafana/tempo / traceByIDSLOPostHook

Function traceByIDSLOPostHook

modules/frontend/slos.go:82–84  ·  view source on GitHub ↗

todo: remove post hooks and implement as a handler

(cfg SLOConfig)

Source from the content-addressed store, hash-verified

80
81// todo: remove post hooks and implement as a handler
82func traceByIDSLOPostHook(cfg SLOConfig) handlerPostHook {
83 return sloHook(traceByIDCounter, sloTraceByIDCounter, traceByIDThroughput, traceByIDInspectedBytes, cfg)
84}
85
86func searchSLOPostHook(cfg SLOConfig) handlerPostHook {
87 return sloHook(searchCounter, sloSearchCounter, searchThroughput, searchInspectedBytes, cfg)

Callers 2

newTraceIDHandlerFunction · 0.85
newTraceIDV2HandlerFunction · 0.85

Calls 1

sloHookFunction · 0.85

Tested by

no test coverage detected