by fatnoah · 3y ago · 0 comments
In the past year, I started a new role as a head of engineering for an existing team. I literally spent the first month asking "why" about nearly everything. The most common answers ended up being "I don't know, it's what we do", which was closely followed by some justification that boiled down to being a workaround for some anti-patterns. E.g. Q: "Why do we log this error at DEBUG level?" A: "It happens so often that it fills the logs when we log it at a higher level". Me: :(
In theory logging should be more efficient than stats, but in practice, we use logging frameworks that are fractionally as complex as our stats frameworks, and at any rate nobody reads logs and probably haven't for at least ten years. Once your cluster size is more than about 3 servers you need aggregated logs. What we read is the output of log aggregators, and log parsing libraries are doing a lot of work. Way more than the ingestion side of a telemetry service, which is parsing a very simple message schema.
I'm always a little surprised how much engineers undervalue graphs until they see one that catches problems. I'm not entirely sure where that comes from, but I've known a few who have trauma from bad graphs causing drama. There's a lot of human factors around charting and most developers are largely blind to human factors concerns, even as they catch themselves making category errors with bad charts.
Most common type of answer I've received, which is a bit of a bummer.
All the while dodging the following scenario. "We just have to ask... What is it exactly that ya do here?"