Playing with formatting...
This commit is contained in:
parent
488e36fd10
commit
ae1cbf2513
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue