From f9fe6869be2ab7b78ccd63c99e808875d2b5e588 Mon Sep 17 00:00:00 2001 From: Nick Rondeau Date: Wed, 26 Apr 2023 23:29:19 -0700 Subject: [PATCH] add prometheus config --- prometheus.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 prometheus.yml diff --git a/prometheus.yml b/prometheus.yml new file mode 100644 index 0000000..85dfd68 --- /dev/null +++ b/prometheus.yml @@ -0,0 +1,12 @@ + +global: + scrape_interval: 5s + external_labels: + monitor: 'node' +scrape_configs: + - job_name: 'prometheus' + static_configs: + - targets: ['192.168.1.000'] ## Edit with the IP Address of the localhost + - job_name: 'node-exporter' + static_configs: + - targets: ['192.168.1.000:9100'] ## Edit with the IP Address of the localhost \ No newline at end of file