From 61439477485d4135cb61ea70e110cc1a785fe676 Mon Sep 17 00:00:00 2001 From: ammar Date: Thu, 16 Jul 2026 01:25:49 -0700 Subject: [PATCH] improve prometheus targets documentation --- README.md | 13 +++++-------- scrape-config.example.yml | 1 - 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5eb6c4c..44d836b 100644 --- a/README.md +++ b/README.md @@ -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 prometheus -- mkdir scrape-configs + abra app cp 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./targets` diff --git a/scrape-config.example.yml b/scrape-config.example.yml index 20dda9f..58c06a7 100644 --- a/scrape-config.example.yml +++ b/scrape-config.example.yml @@ -1,4 +1,3 @@ - targets: - - 'metrics.traefik.example.org' - 'node.monitoring.example.org' - 'cadvisor.monitoring.example.org' -- 2.52.0