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 |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| graphql | ||
| helpers | ||
| live | ||
| plugs | ||
| changelog_parser.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| gettext_helpers.ex | ||
| permissions.ex | ||
| plug_exceptions.ex | ||
| router.ex | ||
| telemetry.ex | ||
| telemetry_filter.ex | ||
| user_auth.ex | ||