-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add support for grpc health check #835
Conversation
54266b2
to
caee2ee
Compare
Hello, it is in scope again, as discussed during our public dev summits. I will review this asap. |
great, I've checked the dev summit video and realized didn't implement the logic to specify the service name for the health check. I've just pushed the code which takes care of that |
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.
Really awesome that you're taking this on, been wanting this for a long time but haven't had a chance to implement it! Thank you so much!
Can you please add a probe_grpc_duration_seconds with |
I am puzzled by the fact that we can not know the difference between SERVICE_UNKNOWN, UNKNOWN, and NOT_SERVING. Would we need an additional metric for health check response status? |
what do you prefer for the metric definition?
or a gauge with status as numeric value (same as value used in gRPC healtCheck proto)
|
Since the numbers are pretty well defined in the proto, I'd go for the probe_grpc_healthcheck_serving_status=1. |
Metric |
After checking with others, it seems it would be preferable to have probe_grpc_healthcheck_response{serving_status="UNKNOWN"}=0 |
Changed metric from
|
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 besides name change.
Signed-off-by: Alessandro Verzicco <[email protected]>
Thanks! |
Appreciate to all the people who joined conversation and contribute code here! This is so awesome! |
Hi, This PR is to add support for gRPC health check to blackbox exporter.
I've read the discussion on issues #665 and #603, it seems that gRPC is out of scope for blackbox_exporter, if this is still the case just close the PR.