Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Reduce logging by removing content duplication #885
On each request to publish an event to Nakadi, 2 lines of logs are
SLO log is used by scalyr to report SLOs. It contains basically the same
This change adds the body size to ACCESS_LOG and removes SLO for
On each requests to publish an event to Nakadi, 2 lines of logs were generated: 1 for ACCESS_LOG and 1 for SLO log. SLO log is used by scalyr to report SLO. It contains basically the same information but with the addition of the request size in a more structured way. This change adds the body size to ACCESS_LOG and removes SLO for publishing requests. This will result in an overall reduction of 30%, which is the amount of logging we were requested to reduce in order to avoid overspending on logs.
@@ Coverage Diff @@ ## master #885 +/- ## ============================================ + Coverage 53.62% 53.63% +<.01% - Complexity 1705 1706 +1 ============================================ Files 314 314 Lines 9501 9500 -1 Branches 857 858 +1 ============================================ Hits 5095 5095 Misses 4098 4098 + Partials 308 307 -1