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

WIP: Sample gRPC server #903

Closed
wants to merge 7 commits into from
Closed

WIP: Sample gRPC server #903

wants to merge 7 commits into from

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Jun 30, 2018

blocked on #927

// grpc.UnaryInterceptor(grpc_validator.UnaryServerInterceptor()),
// grpc.StreamInterceptor(grpc_validator.StreamServerInterceptor()),
)
api_v2.RegisterQueryServiceServer(s, server.New())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to mention that it's probably a good idea to have each service on its own port, so that different components can have different constraints. Like, I might want to expose the Query Service to the public internet but not the Collector.

@codecov
Copy link

codecov bot commented Jul 3, 2018

Codecov Report

Merging #903 into master will decrease coverage by 0.32%.
The diff coverage is 27.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #903      +/-   ##
==========================================
- Coverage     100%   99.67%   -0.33%     
==========================================
  Files         138      140       +2     
  Lines        6373     6424      +51     
==========================================
+ Hits         6373     6403      +30     
- Misses          0       21      +21
Impacted Files Coverage Δ
cmd/collector/app/grpc_handler.go 0% <0%> (ø)
cmd/collector/app/builder/span_handler_builder.go 100% <100%> (ø) ⬆️
cmd/collector/app/builder/builder_flags.go 100% <100%> (ø) ⬆️
cmd/ingester/app/flags.go 100% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7262bdc...aa9059d. Read the comment docs.

Yuri Shkuro and others added 6 commits July 30, 2018 19:15
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
* Fix test error

Signed-off-by: Isaac Hier <[email protected]>

* go fmt

Signed-off-by: Isaac Hier <[email protected]>
@pavolloffay
Copy link
Member

done in #1165

@ghost ghost removed the review label Nov 13, 2018
@pavolloffay pavolloffay deleted the grpc branch November 13, 2018 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants