From faa099e91772aba987ef792b739efc0d7931493d Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 23 Mar 2019 11:07:06 -0400 Subject: [PATCH] add ubuntu/prometheus.sickstack.com.yml --- ubuntu/prometheus.sickstack.com.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ubuntu/prometheus.sickstack.com.yml diff --git a/ubuntu/prometheus.sickstack.com.yml b/ubuntu/prometheus.sickstack.com.yml new file mode 100644 index 0000000..0031dec --- /dev/null +++ b/ubuntu/prometheus.sickstack.com.yml @@ -0,0 +1,16 @@ +--- +- hosts: prometheus + roles: + - cloudalchemy.prometheus + vars: + prometheus_scrape_configs: + - job_name: "prometheus" # Custom scrape job, here using `static_config` + metrics_path: "/metrics" + static_configs: + - targets: + - "localhost:9090" + - job_name: "netdata-scrape" + metrics_path: "/api/v1/allmetrics" + static_configs: + - targets: + - "netdata.internal.sickstack.com:19999"