Initial commit
This commit is contained in:
28
monitoring/prometheus.yml
Normal file
28
monitoring/prometheus.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'nginx'
|
||||
static_configs:
|
||||
- targets: ['nginx_exporter:9113']
|
||||
|
||||
- job_name: 'php-fpm'
|
||||
static_configs:
|
||||
- targets: ['php_fpm_exporter:9253']
|
||||
|
||||
- job_name: 'postgres'
|
||||
static_configs:
|
||||
- targets: ['postgres_exporter:9187']
|
||||
|
||||
- job_name: 'memcached'
|
||||
static_configs:
|
||||
- targets: ['memcached_exporter:9150']
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets: ['alertmanager:9093']
|
||||
|
||||
rule_files:
|
||||
- /etc/prometheus/alert.rules.yml
|
||||
Reference in New Issue
Block a user