diff --git a/ansible/roles/stack-monitor/templates/prometheus.yml b/ansible/roles/stack-monitor/templates/prometheus.yml index 862b9e728d0cbc7f9f0bbd794b795d91bf209227..ec159d9afd55cd1b961855767a548f6cf0f78151 100644 --- a/ansible/roles/stack-monitor/templates/prometheus.yml +++ b/ansible/roles/stack-monitor/templates/prometheus.yml @@ -62,6 +62,16 @@ scrape_configs: action: drop {% endif %} + - job_name: 'nginx' + metrics_path: /metrics + scrape_interval: 10s + scrape_timeout: 5s + dns_sd_configs: + - names: + - 'tasks.proxy_proxy' + type: 'A' + port: 9145 + - job_name: 'statsd-exporter' static_configs: - targets: ['monitor_statsd_exporter:9102']