improve prometheus targets documentation #26
@@ -53,17 +53,14 @@ This builds upon [Setup Metrics Gathering](#setup-metrics-grathering) so make su
|
||||
- `abra app secret ls monitoring.example.org`
|
||||
- `abra app deploy monitoring.example.org`
|
||||
3. Add scrape config to prometheus
|
||||
- `abra app cmd monitoring.example.org prometheus gathering.org`
|
||||
- or manually
|
||||
|
||||
```
|
||||
cp scrape-config.example.yml gathering.org.yml
|
||||
# adjust domain
|
||||
# mkdir scrape_configs
|
||||
abra app cp monitoring.dev.local-it.cloud gathering.org.yml prometheus:/prometheus/scrape_configs/
|
||||
cp scrape-config.example.yml config.yml
|
||||
abra app run <domain> prometheus -- mkdir scrape-configs
|
||||
abra app cp <domain> config.yml prometheus:/prometheus/scrape_configs/
|
||||
```
|
||||
|
||||
* check that all configured targets are up:
|
||||
https://prometheus.monitoring.example.org/targets
|
||||
* check that all configured targets are up at `prometheus.<domain>/targets`
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
- targets:
|
||||
- 'metrics.traefik.example.org'
|
||||
- 'node.monitoring.example.org'
|
||||
- 'cadvisor.monitoring.example.org'
|
||||
|
||||
Reference in New Issue
Block a user