← Writing · page 5 of 7

How-to guides

100 posts tagged how-to.

Oct 20, 2026

How to Reduce Alert Fatigue with Alertmanager: Step-by-Step (2026)

A practical guide to cutting alert noise with Prometheus and Alertmanager v0.34: measure noise, alert on symptoms, set severity labels, then configure routing, grouping, inhibition, silences and time intervals, and fix Alertmanager not sending notifications.

15 min
Oct 20, 2026

How to Build a RAG Pipeline With Postgres and pgvector (2026)

Step-by-step RAG pipeline on Postgres 18 and pgvector 0.8.7: install, schema, chunking, OpenAI embeddings, an HNSW index, hybrid search with full-text and reciprocal rank fusion, a Python example, retrieval evals, and fixes for slow queries and poor recall.

17 min
Oct 20, 2026

How to Defend LLM Apps Against Prompt Injection: 8 Steps (2026)

A practical prompt injection defence guide for LLM apps and agents: break the lethal trifecta, split privileged and quarantined models, gate tool calls in code, sanitise output, add Prompt Guard 2 as a tripwire, and red team with garak 0.17.1 and promptfoo 0.124.1.

17 min
Oct 20, 2026

How to Fix Prometheus High Cardinality: Find and Drop Series (2026)

Step-by-step guide to finding and fixing high cardinality in Prometheus 3.x: the TSDB status page and API, topk count by __name__, promtool tsdb analyze, metric_relabel_configs drop rules, native histograms, recording rules, sample_limit guardrails and Prometheus OOM fixes.

13 min
Oct 20, 2026

How to Implement Multi-Tenancy with Postgres Row-Level Security (2026)

Step-by-step Postgres row-level security for multi-tenant SaaS: tenant_id schema design, FORCE RLS and non-owner roles, policies using current_setting, SET LOCAL with PgBouncer transaction pooling, indexes, CI isolation tests and fixes for common errors.

13 min
Oct 20, 2026

How to Tune pgvector Performance: HNSW, ef_search and Quantization (2026)

A step-by-step pgvector tuning guide for 0.8.x: HNSW vs IVFFlat, m, ef_construction and ef_search, maintenance_work_mem for fast builds, iterative scans for filtered queries, halfvec and binary quantization, EXPLAIN, and a troubleshooting table, with real timings.

14 min
Oct 20, 2026

How to Set Up the OpenTelemetry Collector on Kubernetes (2026)

Step-by-step OpenTelemetry Collector setup on Kubernetes with Helm chart 0.176.0 and Operator 0.161.0: agent DaemonSet vs gateway, k8s_attributes, auto-instrumentation with the Instrumentation CR, and fixes for dropped spans and memory_limiter refusals.

14 min
Oct 20, 2026

How to Build Multi-Region Failover with Route 53 and Cloud DNS (2026)

Step-by-step multi-region failover: active-passive vs active-active, Route 53 health checks and failover records in Terraform, ARC routing controls, Cloud DNS failover policies, Aurora Global Database and Spanner, failover testing, and fixes for DNS TTL and caching problems.

16 min
Oct 20, 2026

How to Use MLflow 3: Tracking, Model Registry and GenAI Tracing (2026)

Step-by-step MLflow 3.17 guide: run a tracking server on PostgreSQL and S3, log runs and LoggedModels, register models with aliases instead of stages, trace and evaluate a GenAI app with mlflow.genai, serve the champion model, and fix the errors you will actually hit.

12 min
Oct 20, 2026

How to Migrate From ingress-nginx to Gateway API: Step-by-Step (2026)

A tested, step-by-step ingress-nginx to Gateway API migration: inventory annotations, install Gateway API v1.6.3 and Envoy Gateway v1.9.2, convert with ingress2gateway v1.2.0, handle TLS, rewrites and canaries, read route status conditions, cut over with DNS and roll back.

13 min
Oct 20, 2026

How to Run LLM Evals in CI with GitHub Actions (promptfoo, 2026)

Step-by-step: gate prompt and model changes with LLM evals in GitHub Actions using promptfoo 0.124 or DeepEval 4.3, with deterministic and LLM-as-judge assertions, pass-rate thresholds, caching, cost limits, PR comments and fixes for flaky evals.

14 min
Oct 20, 2026

How to Set Up LiteLLM Proxy: Budgets, Fallbacks and Virtual Keys (2026)

Step-by-step LiteLLM proxy setup for v1.106.0: verify and pin the image, run it with Postgres on Docker Compose or Helm, write config.yaml, add fallbacks and retries, issue virtual keys with budgets and rate limits, log to Langfuse and OpenTelemetry, and troubleshoot the common errors.

13 min
Oct 20, 2026

How to Troubleshoot Linux Performance in 60 Seconds (2026 Checklist)

A step-by-step Linux performance troubleshooting guide for 2026: Brendan Gregg's 60-second checklist (uptime, dmesg, vmstat, mpstat, pidstat, iostat, free, sar, top), how to read each output, PSI, the USE method, then bpftrace 0.27 and BCC one-liners.

13 min
Oct 20, 2026

How to Add Human-in-the-Loop Approval to a LangGraph Agent (2026)

Step-by-step LangGraph 1.2 guide: build a tool-calling agent with interrupt() approval before risky tools, persist it with the Postgres checkpointer, resume with Command, stream updates, deploy, and fix the common errors.

11 min
Oct 20, 2026

How to Enforce Pod Security Standards with Kyverno 1.19 (2026)

Step-by-step: enforce Kubernetes Pod Security Standards with Pod Security Admission namespace labels and Kyverno 1.19 CEL policies. Helm install, audit then enforce, policy reports, mutate and generate policies, PolicyExceptions, and fixes for Kyverno webhook failures.

13 min