All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Metric, structured logging?

Also known as: metric · structured logging

Definition 28.2 Research, Data and Risk Platforms · Chapter 28 — Observability and Incident Response

A metric is a named numeric measurement with labels, sampled or aggregated over time: a counter (messages received), a gauge (queue depth), a histogram (latency, as in Book 13, chapter 5). Structured logging writes each log event as a record of named fields — time, level, service, event, identifiers, values — rather than a sentence, so that logs can be queried like data.

Read in context →