Created
September 14, 2020 21:08
-
-
Save iceman91176/78f8ad8673bae5aa68ae43aa52b8e52c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scrape_configs: | |
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. | |
- job_name: 'prometheus' | |
# metrics_path defaults to '/metrics' | |
# scheme defaults to 'http'. | |
static_configs: | |
- targets: ['localhost:9090'] | |
# Blackbox Exporter | |
- job_name: 'blackbox' | |
scrape_interval: 10s | |
metrics_path: /probe | |
file_sd_configs: | |
- files: | |
- '/home/carsten/dev/prometheus/blackbox/targets/*.yml' | |
relabel_configs: | |
- source_labels: [__address__] | |
target_label: __param_target | |
- source_labels: [module] | |
target_label: __param_module | |
- source_labels: [__param_target] | |
target_label: instance | |
- target_label: __address__ | |
# replacement: 127.0.0.1:9115 # blackbox exporter | |
source_labels: [exporter] | |
# End Blackbox Exporter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- labels: | |
module: icmp_ipv4 | |
exporter: 127.0.0.1:9115 | |
targets: | |
- 8.8.8.8 | |
- 217.19.176.4 | |
- whitehouse.gov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment