Get gRPC service metrics using java-grpc-prometheus

Viewed 183

I am trying to get some metrics using the java-grpc-prometheus library. I would like to get some metrics like below

gRPC sessions, no of calls, respective duration, no of API calls been made towards internal apis, timeouts, interface resets

My question is we are using bi-directional Streaming API and I read that it is setup on a single TCP session which is reused by the clients. How do I know how many client sessions have been initiated?

1 Answers
Related