DaCrow13 commited on
Commit ·
7f81e44
1
Parent(s): f002c89
Fix prometheus targets to use localhost and correct ports for single container environment
Browse files1 unmodified line234567892 unmodified lines1213141516171819202122232425262728293031321 unmodified linescrape_interval: 15sevaluation_interval: 15sexternal_labels:monitor: 'hopcroft-monitor'environment: 'development'rule_files:- "alert_rules.yml"2 unmodified linesalertmanagers:- static_configs:- targets:- 'alertmanager:9093'scrape_configs:- job_name: 'hopcroft-api'metrics_path: '/metrics'static_configs:- targets: ['hopcroft-api:8080']scrape_interval: 10s- job_name: 'prometheus'static_configs:- targets: ['localhost:9090']- job_name: 'pushgateway'honor_labels: truestatic_configs:- targets: ['pushgateway:9091']scrape_interval: 30s1 unmodified line234567892 unmodified lines1213141516171819202122232425262728293031321 unmodified linescrape_interval: 15sevaluation_interval: 15sexternal_labels:monitor: "hopcroft-monitor"environment: "development"rule_files:- "alert_rules.yml"2 unmodified linesalertmanagers:- static_configs:- targets:- "127.0.0.1:9093"scrape_configs:- job_name: "hopcroft-api"metrics_path: "/metrics"static_configs:- targets: ["127.0.0.1:8000"]scrape_interval: 10s- job_name: "prometheus"static_configs:- targets: ["localhost:9090"]- job_name: "pushgateway"honor_labels: truestatic_configs:- targets: ["127.0.0.1:9091"]scrape_interval: 30s
monitoring/prometheus/prometheus.yml+11-11