- Concepts
- Designing production ML systems
- Reliability and operations
- Observability
- Design operational monitoring
Operational logging
SkillThe practice of recording and interpreting bounded, privacy-safe events to investigate system behavior and failures. Logs provide evidence, not a complete causal account.
Why it matters
Logs record events that help reconstruct what happened. They are observations, not a complete causal explanation or an assurance that an operation succeeded.
Common trap: Logging everything can leak data and bury useful evidence. In Loki, unbounded IDs are usually poor stream labels; retain necessary correlation as appropriately protected event fields instead.
Read
Engineering blogs
- Sre Postmortem · selected primary documentation (opens in a new tab)sre.google
About this resource
Selected passages only; examples and operational advice are bounded editorial synthesis
Where to read: Blameless analysis; learning and follow-up
Checked 2026-10-08
Authority for this purpose: Original project or organization publishes this documentation; selected scope independently reviewed.
Destination inspection: Existing link retained; destination inspection is not recorded.
Useful destination; no explanatory claim is asserted from this link.
- First-layer selected scope only; no whole-document, benchmark, empirical teaching or causal practice approval.
Reviewed authoritative resource
Where to read: Blameless analysis; learning and follow-up
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
Docs
- Logging · selected primary documentation (opens in a new tab)docs.python.org
About this resource
Selected passages only; examples and operational advice are bounded editorial synthesis
Where to read: When to use logging; levels; formatting and handlers
Checked 2026-10-08
Authority for this purpose: Original project or organization publishes this documentation; selected scope independently reviewed.
Destination inspection: Existing link retained; destination inspection is not recorded.
Useful destination; no explanatory claim is asserted from this link.
- First-layer selected scope only; no whole-document, benchmark, empirical teaching or causal practice approval.
Reviewed authoritative resource
Where to read: When to use logging; levels; formatting and handlers
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
- Loki Labels · selected primary documentation (opens in a new tab)grafana.com
About this resource
Selected passages only; examples and operational advice are bounded editorial synthesis
Where to read: Cardinality and label choice
Checked 2026-10-08
Authority for this purpose: Original project or organization publishes this documentation; selected scope independently reviewed.
Destination inspection: Existing link retained; destination inspection is not recorded.
Useful destination; no explanatory claim is asserted from this link.
- First-layer selected scope only; no whole-document, benchmark, empirical teaching or causal practice approval.
Reviewed authoritative resource
Where to read: Cardinality and label choice
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
Related concepts
Broader
Related
- Python standard libraryTool
- Data minimizationMethod
- Incident managementTask
- Apache Log4jTool
Books to go deeper
Designing Machine Learning Systems
Chip Huyen · 1st edition
Data, evaluation, deployment and monitoring decisions in production ML.
View on Amazon (affiliate link) ↗Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow
Aurélien Géron · 3rd edition
Build and evaluate predictive models and practical preprocessing pipelines.
View on Amazon (affiliate link) ↗As an Amazon Associate I earn from qualifying purchases.
Loading discussion…
