3 ms·
Shipping and diving logs is a bad idea for anything other than last line debug defence. If you're going to agregate your logs, you're much better off convertin
by KaiserPro 2y ago
Shipping and diving logs is a bad idea for anything other than last line debug defence.
If you're going to agregate your logs, you're much better off converting them to metrics _on device_. it makes comparison much easier, and storage and pensioning trivial.
- _kb 2y agoIt doesn't need to happen on device, just upstream of storage (and as close to the source as possible to minimise transport overheads). Most of the OTel collectors are good at this, but IMO Grafana Alloy is particularly neat. This works for when you cannot change the log source too (e.g. third party component or even legacy hardware that may be syslog only).
- marklar423 2y agoI think a good compromise is having metrics that are always on, with the ability to enable more verbose debugging logs as needed.
- speedgoose 2y agoI agree. I much prefer Prometheus and Sentry over logs.
- VBprogrammer 2y agoMetrics are useless in my experience for figuring out a problem. For the most part they only tell you that you have a problem. Being able to slice and dice logs that you have faith in is critical in my experience.