Playing with formatting...

This commit is contained in:
Kris-Sekula 2019-01-23 15:55:58 +01:00
parent ae1cbf2513
commit dae136621e
1 changed files with 4 additions and 5 deletions

View File

@ -53,7 +53,7 @@ Here is an example of thos the graphs look like:
``` ```
sudo vim /etc/prometheus/prometheus.yml 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: global:
@ -70,12 +70,11 @@ scrape_configs:
- targets: ['localhost:8082'] - targets: ['localhost:8082']
labels: labels:
service_name: hx_read_write_stats service_name: hx_read_write_stats
``` ```
- try to start prometheus: - 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 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: - verfiy if it works: