Skip to content

Comment on Log by time, not by countparent

Comments

This post falls into a common trap; conflating logging with metrics.

This isn't as much "conflating" as it is constructing an ad hoc metrics subsystem that exports the metrics to the logs.

There's no theoretical difference between exposing a prometheus endpoint that's scraped every x seconds and printing the same data to the logs every x seconds.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.