MCPcopy Index your code
hub / github.com/cortexproject/cortex / RegisterQueryFrontendHandler

Method RegisterQueryFrontendHandler

pkg/api/api.go:485–487  ·  view source on GitHub ↗

RegisterQueryFrontendHandler registers the Prometheus routes supported by the Cortex querier service. Currently, this can not be registered simultaneously with the Querier.

(h http.Handler)

Source from the content-addressed store, hash-verified

483// Cortex querier service. Currently, this can not be registered simultaneously
484// with the Querier.
485func (a *API) RegisterQueryFrontendHandler(h http.Handler) {
486 a.RegisterQueryAPI(h)
487}
488
489func (a *API) RegisterQueryFrontend1(f *frontendv1.Frontend) {
490 frontendv1pb.RegisterFrontendServer(a.server.GRPC, f)

Callers 1

initQueryFrontendMethod · 0.80

Calls 1

RegisterQueryAPIMethod · 0.95

Tested by

no test coverage detected