You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Marshall Jones, Reijhanniel Jearl Campos, Rafael Acevedo, Patrice Ferrot, João Carvalho, Gaétan Collaud, Buchi Reddy Busi Reddy, Nikolay Metchev, Yanis Batura and Mark Korzhov
No, IMO configuring support for monitoring netty's ELGs is way more complicated then I originally anticipated, so I dropped it for now. (Especially how to restore the grpc's default settings while still retaining maintainability and configurability).
One of the biggest issues there (if you dive for netty metrics), is that grpc shades netty.
Feel free to reuse the metric collection code linked above. Just ping me if you create the PR.
If you feel uncomfortable with copy, pasting someone else's code, I could create the PR for the basic metrics for you.
@ST-DDT I guess we could start with the basic metrics and then improve to include netty metrics later. The reason for this is that, for some use cases, basic metrics are good enough.
Activity
jkschneider commentedon Jun 14, 2018
Some prior art here: https://github.com/grpc-ecosystem/java-grpc-prometheus
ST-DDT commentedon Aug 14, 2019
There is also an interceptor based implementation available in https://github.com/yidongnan/grpc-spring-boot-starter:
Feel free to move this upstream. I can create a PR with the required classes, just tell me where to add them to.
EDIT: I plan to add support for netty's ELGs and executors too (either here or at yidongnan's repo)racevedoo commentedon Feb 14, 2020
Any work here guys? @ST-DDT did you start doing something? I was thinking of creating a PR
ST-DDT commentedon Feb 14, 2020
No, IMO configuring support for monitoring netty's ELGs is way more complicated then I originally anticipated, so I dropped it for now. (Especially how to restore the grpc's default settings while still retaining maintainability and configurability).
One of the biggest issues there (if you dive for netty metrics), is that grpc shades netty.
Feel free to reuse the metric collection code linked above. Just ping me if you create the PR.
If you feel uncomfortable with copy, pasting someone else's code, I could create the PR for the basic metrics for you.
racevedoo commentedon Aug 20, 2020
@ST-DDT I guess we could start with the basic metrics and then improve to include netty metrics later. The reason for this is that, for some use cases, basic metrics are good enough.
WDYT?
ST-DDT commentedon Nov 1, 2020
Finally I had time to create a PR to add the metric collection code grpc to this library. See #2323
Implement grpc-java metric collection (#2323)
[-]Add support for gRPC monitoring[/-][+]Support gRPC monitoring[/+]