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: