Chapter 8
Logging
A log is a timestamped sequence of events in a software system. Logs are fundamental to understanding the offered requests and their responses for any software, along with useful internal details. Logs underpin recording simple counts, samples, or traces for later analysis and thought.
8.1 Observation Tools
Counters are observation tools that simply count events, such as instructions executed or cache misses or transactions performed or elapsed microseconds. Profiles are observation tools that quasi-periodically sample some value, such as program counter (PC), queue depth, or system load. Counters and profiles are low-overhead observation tools. They do not capture any time sequencing, and they do not distinguish unusual transactions ...
Get Understanding Software Dynamics now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.