towerops/config
Graham McIntire 4ce1155548
fix: suppress noisy health check logs in production
Add logger filter to drop Kubernetes health probe logs that were flooding
production logs every few seconds.

Implementation:
- Create ToweropsWeb.TelemetryFilter module with filter_health_checks/2
- Configure as logger :default_handler filter in prod.exs
- Filters based on request_path metadata and message content
- Drops logs for GET /health and HEAD / requests

Impact:
- Eliminates ~120 log entries per minute per pod from K8s probes
- Keeps application logs focused on actual user activity and errors
- No impact on health check functionality - only suppresses logging

Files:
- lib/towerops_web/telemetry_filter.ex (new)
- lib/towerops/application.ex (attach filter on startup)
- config/prod.exs (add filter to logger config)
- CHANGELOG.txt
2026-03-05 13:13:19 -06:00
..
config.exs Ignore pod shutdown errors in ErrorTracker 2026-02-17 10:59:51 -06:00
dev.exs refactor: replace Task.start with Oban for alert notifications 2026-03-05 09:22:14 -06:00
prod.exs fix: suppress noisy health check logs in production 2026-03-05 13:13:19 -06:00
runtime.exs refactor: replace Task.start with Oban for alert notifications 2026-03-05 09:22:14 -06:00
test.exs feat: implement LLDP topology discovery via SNMP 2026-03-05 10:53:57 -06:00