375
submitted 6 months ago by mao@lemmy.sdf.org to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] 9point6@lemmy.world 8 points 6 months ago* (last edited 6 months ago)

Good tracing & monitoring means you should basically never need to look at logs.

Pipe them all into a dumb S3 bucket with less than a week retention and grep away for that one time out of 1000 when you didn't put enough info on the trace or fire enough metrics. Remove redundant logs that are covered by traces and metrics to keep costs down (or at least drop them to debug log level and only store info & up if they're helpful during local dev).

[-] DudeDudenson 22 points 6 months ago

What a nice world you must live in where all your code is perfectly clean, documented and properly tracked.

[-] Skydancer@pawb.social 11 points 6 months ago

And not subject to compliance based retention standards

[-] 9point6@lemmy.world 5 points 6 months ago

Well I didn't say anything about perfectly clean, but I agree, it's very nice to work on my current projects which we've set up our observability to modern standards when compared to any of the log vomiting services I've worked on in the past.

Obviously easier to start with everything set up nicely in a Greenfield project, but don't let perfect be the enemy of good—iterative improvements on badly designed observability nearly always pays off.

[-] marcos@lemmy.world 5 points 6 months ago

"Log" is the name of the place you write your tracing information into.

this post was submitted on 24 May 2024
375 points (98.0% liked)

Programmer Humor

32568 readers
219 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS