airwallex / k8s-pod-restart-info-collector

Automated troubleshooting of Kubernetes Pods issues. Collect K8s pod restart reasons, logs, and events automatically.
314 stars 45 forks source link

[Feature Request]Logs are getting trimmed due to slack limitation to resolve this attach complete logs to message thread #23

Open samyswam opened 1 year ago

samyswam commented 1 year ago

Currently this tool will send last 50 lines of logs. If we have more health check logs we will not get the correct error msg in logs to resolve this 1) add tail log lines as env variable 2) file info, health check, admin ping logs 3) send full logs as an attachment to slack message if logs are trimmed.