Last active
October 22, 2022 13:30
-
-
Save ivanahuckova/a818283b0de96a93af95fdc36ec24e56 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
global: | |
# How frequently to scrape targets | |
scrape_interval: 10s | |
# How frequently to evaluate rules | |
evaluation_interval: 10s | |
# Rules and alerts are read from the specified file(s) | |
rule_files: | |
- rules.yml | |
# Alerting specifies settings related to the Alertmanager | |
alerting: | |
alertmanagers: | |
- static_configs: | |
- targets: | |
# Alertmanager's default port is 9093 | |
- localhost:9093 | |
# A list of scrape configurations that specifies a set of | |
# targets and parameters describing how to scrape them. | |
scrape_configs: | |
- job_name: 'prometheus' | |
scrape_interval: 5s | |
static_configs: | |
- targets: | |
- localhost:9090 | |
- job_name: 'node_exporter' | |
scrape_interval: 5s | |
static_configs: | |
- targets: | |
- localhost:9100 | |
- job_name: 'prom_middleware' | |
scrape_interval: 5s | |
static_configs: | |
- targets: | |
- localhost:9091 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment