MCPcopy Create free account
hub / github.com/cortexproject/cortex / ShouldTrackHTTPGRPCResponse

Function ShouldTrackHTTPGRPCResponse

pkg/querier/stats/stats.go:401–404  ·  view source on GitHub ↗
(r *httpgrpc.HTTPResponse)

Source from the content-addressed store, hash-verified

399}
400
401func ShouldTrackHTTPGRPCResponse(r *httpgrpc.HTTPResponse) bool {
402 // Do no track statistics for requests failed because of a server error.
403 return r.Code < 500
404}

Callers 2

RoundTripGRPCMethod · 0.92
ProcessMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected