From dae136621e651be91fd07c56e1490d2213a9c5f7 Mon Sep 17 00:00:00 2001 From: Kris-Sekula Date: Wed, 23 Jan 2019 15:55:58 +0100 Subject: [PATCH] Playing with formatting... --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0d52a12..3d482ca 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Here is an example of thos the graphs look like: ``` sudo vim /etc/prometheus/prometheus.yml ``` - **Note** watch out for formatting this is YAML, not TABs, use two spaces + **Note:** watch out for formatting this is YAML, not TABs, use two spaces ``` global: @@ -70,12 +70,11 @@ 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 -``` + - verfiy if it works: