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

Monitor grpc traffic via devtools #2044

Open
mehmetf opened this issue Jun 5, 2020 · 13 comments
Open

Monitor grpc traffic via devtools #2044

mehmetf opened this issue Jun 5, 2020 · 13 comments
Assignees
Labels
from: survey P2 important to work on, but not at the top of the work list. screen: network Issues with the Network screen.

Comments

@mehmetf
Copy link

mehmetf commented Jun 5, 2020

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:

  • Monitor socket traffic.
  • Be able to interpret and decode grpc traffic (protos) and show details about the payload in the tooling

@yohanln has mentioned this would be a good intern project.

@mehmetf mehmetf added the screen: network Issues with the Network screen. label Jun 5, 2020
@mehmetf
Copy link
Author

mehmetf commented Jun 5, 2020

Also @jacob314 and @bkonyi as FYI

@bkonyi
Copy link
Contributor

bkonyi commented Jun 5, 2020

@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
Copy link

zichangg commented Jun 7, 2020

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

@devoncarew
Copy link
Member

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
Copy link

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
Copy link

We will start the work very soon!

@thedejifab
Copy link

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

@kenzieschmoll
Copy link
Member

kenzieschmoll commented Oct 8, 2020

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

@kenzieschmoll
Copy link
Member

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

@kenzieschmoll kenzieschmoll removed this from the On Deck milestone May 24, 2022
@CoderDake CoderDake self-assigned this May 30, 2022
@kenzieschmoll kenzieschmoll added P3 issues we think are valid but not important and removed P5 labels Jul 5, 2023
@EnesKaraosman
Copy link

Any update here?

@CoderDake
Copy link
Contributor

Currently at the back of a long backlog.

@loeffel-io
Copy link

+1

@CoderDake CoderDake added P2 important to work on, but not at the top of the work list. and removed P3 issues we think are valid but not important labels Sep 5, 2023
@srawlins
Copy link
Contributor

srawlins commented Feb 6, 2025

@kenzieschmoll: @bkonyi and I were thinking this might be better suited to be a DevTools extension. WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: survey P2 important to work on, but not at the top of the work list. screen: network Issues with the Network screen.
Projects
None yet
Development

No branches or pull requests

10 participants