Tuesday 2016-05-03

Best Current Practices for logging:

Where logging is expensive, instrumentation is cheap. You should be instrumenting every significant component of your codebase. If it’s a resource, like a queue, instrument it according to Brendan Gregg’s USE method: utilization, saturation, and error count (rate). If it’s something like an endpoint, instrument it according to Tom Wilkie’s RED method: request count (rate), error count (rate), and duration.
-- Peter Bourgon