java-grpc-prometheus
java-grpc-prometheus copied to clipboard
Recording more information about a request
Is there any way to create labels from grpc requests data? Let's say I have a GRPC endpoint that accepts four parameters: p1, p2, p3, and p4. I'd like to group my metrics based on p1 values.
I am also looking for something like this, so I can group grpc metrics based on application
I ended up using the parent repo directly:
https://github.com/prometheus/client_java
I don't have many gRPC endpoints. So using the parent repo works for me.
@vim345 Just to clarify, how are you exporting metrics to prometheus?
Are you using a push gateway or are you serving your own HTTP server somehow? Maybe I'm missing something but I can't see how this git repo is managing to export the metrics to prometheus. I'd be interested to see an example of what you set up.
@QuinnBast we're using a custom pull mechanism to put the data into prometheus.