logoalt Hacker News

arwhateveryesterday at 6:52 PM2 repliesview on HN

I like to think of “warning” as something to alert on statistically, e.g. incorrect password attempt rate jumps from 0.4% of login attempts to 99%.


Replies

mzitoday at 3:16 PM

This sounds more like metrics than a log statement.

For me logs should complement metrics, and can in many instances be replaced by tracing if the spans are annotated sufficiently. But making metrics out of logs is both costly and a bit brittle.

lanstinyesterday at 11:43 PM

This point is important - the value of a log is inextricably tied to its unlikelihood. Which depends on so many things in the context.