From ae1cbf25137b5806bc760e34328bc71ee3e09664 Mon Sep 17 00:00:00 2001 From: Kris-Sekula Date: Wed, 23 Jan 2019 15:50:27 +0100 Subject: [PATCH] Playing with formatting... --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf922da..0d52a12 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,12 @@ Here is an example of thos the graphs look like: sudo chown -R prometheus:prometheus /etc/prometheus/consoles sudo chown -R prometheus:prometheus /etc/prometheus/console_libraries ``` - - configure prometheus: + - configure prometheus: ``` sudo vim /etc/prometheus/prometheus.yml ``` - **watch out for formatting this is YAML, tab = two spaces** + **Note** watch out for formatting this is YAML, not TABs, use two spaces + ``` global: scrape_interval: 15s @@ -69,7 +70,8 @@ scrape_configs: - targets: ['localhost:8082'] labels: service_name: hx_read_write_stats -``` +``` + - try to start prometheus: ``` sudo -u prometheus /usr/local/bin/prometheus --config.file /etc/prometheus/prometheus.yml --storage.tsdb.path /var/lib/prometheus --web.console.templates=/etc/prometheus/consoles --web.console.libraries=/etc/prometheus/console_libraries