-
Notifications
You must be signed in to change notification settings - Fork 337
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
Monitor grpc traffic via devtools #2044
Comments
@zichangg has actually already implemented socket profiling in dart:io, I just haven't gotten around to surfacing it in DevTools yet (I'll hopefully get around to it in Q3). |
Right! But my implementation is only monitoring statistics of socket(without looking at the content). It probably needs more work for grpc. |
For fully exposing networking info, we might look at the chrome debug protocol for inspiration - their API seems full featured for what you'd need to build a network profiling client: https://chromedevtools.github.io/devtools-protocol/1-3/Network/. |
Is anyone working on this at the moment? Currently building stuff using GRPC and I need to monitor my traffic as I do with REST API calls but this is a blocker. |
We will start the work very soon! |
Cool @zichangg. I think I'm actually interested in working on this |
There is an in-progress CL for this. @bkonyi is going to pick up on the existing work when he has some bandwidth. |
Some work for this effort was landed here: grpc/grpc-dart#392, but we need to audit what work is left to be done to support debugging gRPC requests with DevTools |
Any update here? |
Currently at the back of a long backlog. |
+1 |
@kenzieschmoll: @bkonyi and I were thinking this might be better suited to be a DevTools extension. WDYT? |
Currently devtools can monitor HTTP traffic. Some transport implementations (in particular package:grpc) operate directly on dart:io Socket. The ideal goal of this would be:
@yohanln has mentioned this would be a good intern project.
The text was updated successfully, but these errors were encountered: