-
Notifications
You must be signed in to change notification settings - Fork 679
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
Instrument gRPC server with go-grpc-prometheus middleware (#1678) #1692
Conversation
…tour#1678) Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this.
pass in the Prometheus Registry to the constructor so that grpcServer can remain an internal struct Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
Hey @bgagnon I was able to test this in my cluster and I see the metrics from Prometheus, but like your example pasted above, there are no values for anything. Is this typical for these types of metrics? |
I'm also checking this out in my cluster, and I can see some stats, I'm going to spend a while and check that the stats mean what I think they do before giving this the thumbs up. But overall, it looks pretty good, thanks @bgagnon for doing this work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if @youngnick is fine.
Okay, I'm happy we'll get some metrics, we can look more at what else we can get as a next step. |
Basic integration of the go-grpc-prometheus middleware -- see #1678.
Out of the box, we get the following new timeseries: