tezvyn:

Monitoring & SRE

Observability, incident response, reliability, SLOs

263 bites

More in Monitoring & SRE — page 5

Monitoring & SRE88 sec read

Measuring on-call health quantitatively

WHAT IT TESTS: turning on-call pain into data that justifies investment. OUTLINE: track pages per shift especially off-hours, actionability rate, time-to-resolve, and load distribution; use trends to prioritize reliability work and protect against burnout.

Monitoring & SRE84 sec read

Designing an escalation policy

WHAT IT TESTS: ensuring critical alerts always reach someone. OUTLINE: define timeout-based escalation tiers, multiple notification channels, secondary and management layers, coverage across time zones, and severity-based routing.

Monitoring & SRE84 sec read

Anatomy of an effective runbook

WHAT IT TESTS: knowing what makes a runbook usable under stress. OUTLINE: alert meaning and impact, diagnostic steps with dashboard and query links, concrete remediation with rollback, and escalation contacts.

Monitoring & SRE2 min read

SLO-based alerting and error budgets

WHAT IT TESTS: alerting on budget burn rate, not static thresholds. OUTLINE: define SLI/SLO, derive an error budget, alert on how fast you burn it using multi-window multi-burn-rate rules so fast burns page and slow burns ticket.

Monitoring & SRE89 sec read

Fixing a noisy non-actionable alert

WHAT IT TESTS: treating alert noise as a fixable problem, not just muting. OUTLINE: review the data to see if it is ever actionable, then tune threshold or duration, re-target at user-facing symptoms, or delete it.

Monitoring & SRE81 sec read

First steps on a p99 latency page

WHAT IT TESTS: a structured triage instinct, not random poking. OUTLINE: confirm scope and blast radius, check recent changes and deploys, then look at dependencies and resource saturation. RED FLAG: diving into code or restarting things before scoping impact.

Monitoring & SRE81 sec read

Symptom-based versus cause-based alerting

WHAT IT TESTS: understanding why user-facing symptoms make better pages. OUTLINE: symptom alerts fire on user impact like high error rate or latency; cause alerts fire on internal conditions like high CPU. Page on symptoms, treat causes as diagnostic.

Monitoring & SRE85 sec read

Loki versus Elasticsearch for logs

WHAT IT TESTS: how indexing choice drives cost and query behavior. OUTLINE: Loki indexes only labels and stores raw log chunks, cheap but needs label-scoped brute-force search; Elasticsearch full-text indexes content, fast arbitrary search but costly to store…

Monitoring & SRE74 sec read

Writing SLIs in PromQL

WHAT IT TESTS: turning SLOs into correct PromQL. OUTLINE: availability is good requests over total using rate and non-5xx counters; latency uses histogram_quantile over rate of buckets summed by le.

Monitoring & SRE83 sec read

Scaling Prometheus for HA and volume

WHAT IT TESTS: scaling a single Prometheus past its limits. OUTLINE: shard scraping, add long-term object storage and global query via Thanos/Cortex/VictoriaMetrics, run redundant replicas for HA, with dedupe.

Monitoring & SRE83 sec read

Designing a cache health dashboard

WHAT IT TESTS: knowing which cache signals matter and matching them to visualizations. OUTLINE: hit ratio, latency, memory and evictions, connections and saturation, with stat panels for current state and time-series for trends.

Monitoring & SRE88 sec read

Correlating logs, metrics, and traces

WHAT IT TESTS: knowing the trace ID is the glue across signals. OUTLINE: propagate a trace and span ID through context, stamp it on logs and metric exemplars, then pivot metric to trace to logs. RED FLAG: correlating only by timestamp.

Monitoring & SRE78 sec read

Prometheus histogram versus summary

WHAT IT TESTS: where quantiles are computed and whether they aggregate. OUTLINE: histograms expose bucket counts and let you compute aggregatable quantiles at query time; summaries compute fixed quantiles per instance that cannot be combined.

Monitoring & SRE83 sec read

High cardinality in time-series databases

WHAT IT TESTS: knowing cardinality equals number of unique label combinations. OUTLINE: each combination is a separate series consuming memory and index; manage by avoiding unbounded labels and bucketing values.

Monitoring & SRE77 sec read

Core components of Prometheus

WHAT IT TESTS: understanding Prometheus's pull model and TSDB. OUTLINE: server scrapes targets found via service discovery, stores samples in a local time-series database, with Alertmanager and exporters as helpers.

Monitoring & SRE79 sec read

Histograms versus summaries for latency

WHAT IT TESTS: understanding where quantiles are computed and whether they aggregate. OUTLINE: histograms store bucket counts and stay aggregatable with query-time approximate quantiles; summaries precompute quantiles per instance that cannot be averaged.

Monitoring & SRE76 sec read

When to add custom OpenTelemetry instrumentation

WHAT IT TESTS: knowing auto-instrumentation only sees framework boundaries, not business meaning. OUTLINE: wrap domain logic in custom spans, attach business attributes like tenant or plan, answer revenue and per-customer questions.

Monitoring & SRE2 min read

Redesigning a high-cardinality request metric

WHAT IT TESTS: Diagnosing and fixing label explosion. OUTLINE: Cardinality is unique label combinations; user_id and raw path are unbounded; redesign by dropping user_id and templating the path.

Monitoring & SRE2 min read

Trace context and propagation across services

WHAT IT TESTS: How trace context carries correlation across services. OUTLINE: Trace context bundles trace ID, span ID, and flags; propagated via headers like W3C traceparent so each service extracts and continues the trace.

Monitoring & SRE2 min read

OpenTelemetry API, SDK, and Collector

WHAT IT TESTS: Understanding the OTel pipeline. OUTLINE: API defines vendor-neutral instrumentation, SDK implements and exports it, Collector receives, processes, and routes telemetry to backends.