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
This commit is contained in:
Luciabrightcode 2025-12-23 17:48:37 +08:00
parent 5d288f67ce
commit fa070b854f
2 changed files with 15 additions and 0 deletions

View file

@ -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).

View file

@ -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