improve prometheus targets documentation #26

Open
ammaratef45 wants to merge 1 commits from ammar/fix-scrape-config into main
2 changed files with 5 additions and 9 deletions
+5 -8
View File
@@ -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
View File
@@ -1,4 +1,3 @@
- targets:
- 'metrics.traefik.example.org'
- 'node.monitoring.example.org'
- 'cadvisor.monitoring.example.org'