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

Function searchSLOPostHook

modules/frontend/slos.go:86–88  ·  view source on GitHub ↗
(cfg SLOConfig)

Source from the content-addressed store, hash-verified

84}
85
86func searchSLOPostHook(cfg SLOConfig) handlerPostHook {
87 return sloHook(searchCounter, sloSearchCounter, searchThroughput, searchInspectedBytes, cfg)
88}
89
90func metadataSLOPostHook(cfg SLOConfig) handlerPostHook {
91 return sloHook(metadataCounter, sloMetadataCounter, metadataThroughput, metadataInspectedBytes, cfg)

Callers 2

newSearchHTTPHandlerFunction · 0.85

Calls 1

sloHookFunction · 0.85

Tested by

no test coverage detected