You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(#91): address Copilot review findings on PR #101
- access-log: implement the documented Apache CLF fallback. Previously
the handler used a single parser from sourceProfile (ApacheCombined)
and the comments + PR body claimed a per-record fallback to
ApacheCommon that didn't exist. RHEL hosts running default CLF would
have produced zero parsed records. New parseWithFallback helper +
sourceFallbackProfile map drive the actual fallback now; Apache is
the only source using it today.
- access-log: status_min query parameter now accepts an explicit 0 to
disable the filter. Was previously clamped to a 100 minimum, which
silently coerced 0 to 100 and broke the "give me all records"
intent. Default when the param is absent stays 500 (the dashboard's
primary use case). Lock the new defaults in via two new tests.
- caddy: drop the AdminRunning field. The previous heuristic relied on
caddy_admin_http_requests_total existing, which Prometheus doesn't
emit for counters with zero increments. A freshly-started Caddy
with admin enabled but no admin traffic yet would have falsely read
"admin disconnected." The real signal is "did the scrape succeed?"
— which the handler already conveys via 503 before the first
successful scrape — so the field was redundant on success and
misleading on cold start.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments