From fa070b854f0df5b2051222a72303676388b1be08 Mon Sep 17 00:00:00 2001 From: Luciabrightcode Date: Tue, 23 Dec 2025 17:48:37 +0800 Subject: [PATCH] fix(ops): enable camoufox-pool metrics discovery (v1.0.3) - Add dns_sd_configs for camoufox-pool:8000 in prometheus.yml - Resolves observability gap for scaled browser instances --- implementation_plan.md | 7 +++++++ infra/prometheus.yml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/implementation_plan.md b/implementation_plan.md index dfc703d..4a3054c 100644 --- a/implementation_plan.md +++ b/implementation_plan.md @@ -48,3 +48,10 @@ Transition the system from a functional prototype to a scalable, production-read - **Verification**: Run unit tests (`test_ghost_cursor`) and TLS checks (`verify_tls`) (**Verified**). - **Ops**: Verify `docker-compose.yml` CPU limits for Bezier overhead (**Verified**). - **Governance**: **APPROVED** (Director: High Efficacy; Tech Lead: Arch Aligned). + - **Governance**: **APPROVED** (Director: High Efficacy; Tech Lead: Arch Aligned). + +## v1.0.3 Observability Hotfix +- **Goal**: Enable metrics scraping for scaled `camoufox-pool` browser containers. +- **Changes**: + - `infra/prometheus.yml`: Added `dns_sd_configs` for `camoufox-pool` port 8000. + - **Verification**: Metrics availability (User Field Verification). diff --git a/infra/prometheus.yml b/infra/prometheus.yml index 40bff41..1eeaa84 100644 --- a/infra/prometheus.yml +++ b/infra/prometheus.yml @@ -5,3 +5,11 @@ scrape_configs: - job_name: 'orchestrator' static_configs: - targets: ['orchestrator:8000'] + + - job_name: 'camoufox-pool' + scrape_interval: 5s + dns_sd_configs: + - names: + - 'camoufox-pool' + type: 'A' + port: 8000