27 ms·
Metrics sample rate yes but logging sample? When an end-to-end transaction for a very important task breaks, do I get *some* breadcrumbs to debug it?
by gtirloni 3y ago
Metrics sample rate yes but logging sample? When an end-to-end transaction for a very important task breaks, do I get *some* breadcrumbs to debug it?
- _visgean 3y agoI have used that approach before with sentry. It was a non-issue. It depends on nature of the project of course, we had a system that was running every second so if it failed it generated a lot of data..
- isburmistrov 3y agoSampling can be smart, e.g. based on some field all events have (can be called traceId, haha).
- goosejuice 3y agoI agree. Sampling logs.. sounds dangerous. Obviously every system is different. At least in GCP you can apply a filter to prevent ingestion and set different expiries on log budgets. This can help control costs without missing important entries.