Closed jkroepke closed 4 months ago
Yes, this would be helpful. It would be easy to exclude it here if you want to take a crack at it sooner than I can get to it: https://github.com/kubetail-org/kubetail/blob/main/backend/internal/ginapp/middleware.go#L85
Here's a PR that implements this: https://github.com/kubetail-org/kubetail/pull/27. Once implemented you would enable it by using the logging.access-log.hide-health-checks
config option (default: false):
logging:
access-log:
hide-health-checks: true
Let me know if you have any suggestions.
Looks good
I published a new version with this (0.2.0) and also updated the helm chart (0.3.1). Let me know if you run into any problems.
Consider to exclude
/healthz
from access logs. It's really spammy, the kubernetes probes are active.