gRPC added to README and Configuration (#894)
authorArash Sami <arashsami@live.com>
Tue, 15 Mar 2022 23:11:17 +0000 (23:11 +0000)
committerGitHub <noreply@github.com>
Tue, 15 Mar 2022 23:11:17 +0000 (00:11 +0100)
* added grpc config

added grpc config

Signed-off-by: rshsm <arashsami@live.com>
CONFIGURATION.md
README.md

index 9949ffe6fc5932c1adfc0c1a725cc86aaf97dec8..1a0e4974e97766948078efde56eb400fcc9e2721 100644 (file)
@@ -30,6 +30,7 @@ The other placeholders are specified separately.
   [ tcp: <tcp_probe> ]
   [ dns: <dns_probe> ]
   [ icmp: <icmp_probe> ]
+  [ grpc: <grpc_probe> ]
 
 ```
 
@@ -260,6 +261,18 @@ validate_additional_rrs:
 
 ```
 
+### <grpc_probe>
+
+```yml
+
+# The IP protocol of the gRPC probe (ip4, ip6).
+[ preferred_ip_protocol: <string> ]
+
+# Configuration for TLS protocol of gRPC probe.
+tls_config:
+  [ <tls_config> ]
+```
+
 ### <tls_config>
 
 ```yml
index 6658f7efcf8da4c68f02d402e1353b641c788482..36008aeea15474585ed76e78e5987ef75e5f0a80 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
 [![Docker Pulls](https://img.shields.io/docker/pulls/prom/blackbox-exporter.svg?maxAge=604800)][hub]
 
 The blackbox exporter allows blackbox probing of endpoints over
-HTTP, HTTPS, DNS, TCP and ICMP.
+HTTP, HTTPS, DNS, TCP, ICMP and gRPC.
 
 ## Running this software
 
@@ -69,7 +69,7 @@ To specify which [configuration file](CONFIGURATION.md) to load, use the `--conf
 
 Additionally, an [example configuration](example.yml) is also available.
 
-HTTP, HTTPS (via the `http` prober), DNS, TCP socket and ICMP (see permissions section) are currently supported.
+HTTP, HTTPS (via the `http` prober), DNS, TCP socket, ICMP and gRPC (see permissions section) are currently supported.
 Additional modules can be defined to meet your needs.
 
 The timeout of each probe is automatically determined from the `scrape_timeout` in the [Prometheus config](https://prometheus.io/docs/operating/configuration/#configuration-file), slightly reduced to allow for network delays.