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