Playing with formatting...

This commit is contained in:
Kris-Sekula 2019-01-23 15:50:27 +01:00
parent 488e36fd10
commit ae1cbf2513
1 changed files with 5 additions and 3 deletions

View File

@ -53,7 +53,8 @@ Here is an example of thos the graphs look like:
```
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
@ -70,6 +71,7 @@ scrape_configs:
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