flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.54k stars 314 forks source link

Monitor grpc traffic via devtools #2044

Open mehmetf opened 4 years ago

mehmetf commented 4 years ago

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.

mehmetf commented 4 years ago

Also @jacob314 and @bkonyi as FYI

bkonyi commented 4 years ago

@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).

zichangg commented 4 years ago

Right! But my implementation is only monitoring statistics of socket(without looking at the content). It probably needs more work for grpc.

devoncarew commented 4 years ago

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/.

thedejifab commented 4 years ago

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.

zichangg commented 4 years ago

We will start the work very soon!

thedejifab commented 4 years ago

Cool @zichangg. I think I'm actually interested in working on this

kenzieschmoll commented 3 years ago

There is an in-progress CL for this. @bkonyi is going to pick up on the existing work when he has some bandwidth.

kenzieschmoll commented 2 years ago

Some work for this effort was landed here: https://github.com/grpc/grpc-dart/pull/392, but we need to audit what work is left to be done to support debugging gRPC requests with DevTools

EnesKaraosman commented 11 months ago

Any update here?

CoderDake commented 11 months ago

Currently at the back of a long backlog.

loeffel-io commented 10 months ago

+1