I have a gRPC service written in Go which has very long running streams. I want a way to measure the network/bandwidth usage per stream and make that information available to prometheus.
I found grpc.StreamServerInterceptor
but from what I gather, it doesn't give you access to the marshalled message (which I need to figure out the size).
There's this third party middleware I've found, but it doesn't seem to export any network related information.