Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query service with OTLP #3086

Merged
merged 16 commits into from
Jul 13, 2021
Prev Previous commit
Next Next commit
Fix vet
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay committed Jul 13, 2021
commit 5ddba0453c4f3f0976e284992ebdbbcc41ed4cbb
1 change: 1 addition & 0 deletions cmd/query/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func createHTTPServer(querySvc *querysvc.QueryService, metricsQuerySvc querysvc.

ctx, cancelFunc := context.WithCancel(context.Background())
if err := apiv3.RegisterGRPCGateway(ctx, logger, r, queryOpts.BasePath, queryOpts.GRPCHostPort, queryOpts.TLSGRPC); err != nil {
cancelFunc() // make go vet happy
return nil, nil, err
}

Expand Down