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 |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||