-
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
Feature Request: Support for gRPC endpoint #725
Comments
I'm confused, is this intended as a bug report or a feature request? If you have a TCP server which implements standard TLS then this exporter is sufficient to do what you want. If you have some other protocol, then you'll want to write an exporter to handle it. The output you've shared does not indicate any bugs with the blackbox exporter as you failed to escape the ampersands. |
Sorry for confusion. However, the original purpose of this issue is for a feature request: grpc_net:
prober: grpc
timeout: 5s
grpc:
send: "ping"
expect: "pong"
tls_config:
ca_file: "/etc/blackbox_exporter/certs/_net/ca.crt"
cert_file: "/etc/blackbox_exporter/certs/net/client.crt"
key_file: "/etc/blackbox_exporter/certs/net/client.key" |
GRPC is out of scope, this exporter only covers the basic standard protocols that it does. If you need this I suggest writing a new exporter, as handling arbitrary proto exchanges doesn't belong here. |
This is resolved by #835, right? |
Yup, I think so. |
Host operating system: output of
uname -a
CentOS 7
blackbox_exporter version: output of
blackbox_exporter --version
blackbox_exporter, version 0.18.0 (branch: HEAD, revision: 60c86e6)
build user: root@53d72328d93f
build date: 20201012-09:46:31
go version: go1.15.2
What is the blackbox.yml module config.
tls_net:
prober: tcp
tcp:
tls: true
tls_config:
insecure_skip_verify: false
ca_file: "/etc/blackbox_exporter/certs/net/ca.crt"
cert_file: "/etc/blackbox_exporter/certs/net/client.crt"
key_file: "/etc/blackbox_exporter/certs/net/client.key"
What is the prometheus.yml scrape config.
What logging output did you get from adding
&debug=true
to the probe URL?What did you do that produced an error?
I have a server which is implemented by golang. It is a gRPC server with server certificate and client certificate enabled.
I want to have blackbox_exporter to probe the endpoint with SSL enabled with tcp_probe
What did you expect to see?
Expect to blackbox_exporter can probe if the tls connection was establish successfully and the certificate expiry.
What did you see instead?
The text was updated successfully, but these errors were encountered: