1
0
mirror of https://github.com/ribbybibby/ssl_exporter.git synced 2024-11-24 08:22:17 +02:00
ssl_exporter/examples/example.prometheus.yml
2019-03-20 18:07:18 +00:00

20 lines
546 B
YAML

global:
scrape_interval: 1m
scrape_configs:
- job_name: 'ssl'
metrics_path: /probe
static_configs:
- targets:
- 'google.co.uk:443'
- 'prometheus.io:443'
- 'example.com:443'
- 'helloworld.letsencrypt.org:443'
- 'expired.badssl.com:443'
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9219 # SSL exporter.