Skip to content

Commit

Permalink
gRPC added to README and Configuration (#894)
Browse files Browse the repository at this point in the history
* added grpc config

added grpc config

Signed-off-by: rshsm <[email protected]>
  • Loading branch information
rshsmi authored Mar 15, 2022
1 parent 9979095 commit a68a616
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The other placeholders are specified separately.
[ tcp: <tcp_probe> ]
[ dns: <dns_probe> ]
[ icmp: <icmp_probe> ]
[ grpc: <grpc_probe> ]

```

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a68a616

Please sign in to comment.