-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat: use gRPC to write spans to cloud trace #97
feat: use gRPC to write spans to cloud trace #97
Conversation
Codecov Report
@@ Coverage Diff @@
## master #97 +/- ##
==========================================
+ Coverage 95.16% 95.29% +0.12%
==========================================
Files 11 11
Lines 331 340 +9
Branches 69 68 -1
==========================================
+ Hits 315 324 +9
Misses 16 16
Continue to review full report at Codecov.
|
packages/opentelemetry-cloud-trace-exporter/test/exporter.test.ts
Outdated
Show resolved
Hide resolved
@reggiemcdonald I did a little more digging, Do you think it's doable? |
Yep! I think that its possible and would be happy to make the change. Just playing around with protobufjs right now, it appears that grpc cannot load protobufjs static files, so I just need to figure out how to work with the protobufjs |
I'm not familiar with gRPC, so I cannot really comment on this, but it sounds like your investigation is going in the right direction. |
I've implemented the protobufjs solution and tested it on a live instance. You can see the code here. The reasons that I like this implementation are:
I left it off this branch for now in case this isn't the type of change that we want to make. Let me know what you think |
I'm in favor but will defer to the folks who have been working in this repo longer :) This will also be useful for metrics |
Sounds reasonable to me as well, but I'm in a similar situation to Aaron as
far as having any authority to make this call. Does anyone have concerns
with the approach?
…On Tue, Jul 7, 2020 at 5:02 PM Aaron Abbott ***@***.***> wrote:
I'm in favor but will defer to the folks who have been working in this
repo longer :) This will also be useful for metrics
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANP2KZMXHYXNIUEMCMMPORLR2OEOBANCNFSM4N7VST3A>
.
|
At quick glance |
@reggiemcdonald IIUC this won't work with web, is that right? See #114 |
packages/opentelemetry-cloud-trace-exporter/test/exporter.test.ts
Outdated
Show resolved
Hide resolved
@reggiemcdonald is this ready for another review (going ahead with |
@aabmass should be ready for re-review! 🙂 |
…th calls to the rpc service
…ting of _getClient
…d more specific params to protoloading
150ef70
to
710a15e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome LGTM!
@reggiemcdonald can you mark any comments that are done as resolved?
Awesome, thanks Reggie! |
Description
cloudtrace.v2.TraceService
client toTraceExporter
to be used to write span data to cloud traceTesting
Relevant Info
Fixes #94