Slide 3
Slide 3 text
Tracing
Request
scoped
Logging
Events
Metrics
Aggregatable*
credit: peter bourgon
Focal areas
often confused because they have things in common, like a timeline.
start with logging: crappy error happened
tracing: impact of that error
metrics: how many errors of this type are happening in the system
logs: discrete events: debug, error, audit, request details
crappy error happened;
tracing can tell you the impact of that error. for example did it cause a caller to fail or did it delay it?
tracing: request-scope causal info: latency, queries, IDs
metrics: gauge counter histogram; success failure or customer
how many errors of this type are happening in this cluster?
not all metrics are meaningfully aggregatable, ex percentiles or averages
https://peter.bourgon.org/blog/2017/02/21/metrics-tracing-and-logging.html