VitalRix guide
Monitoring guides
Plain-language explanations of the ideas behind monitoring: what each practice measures, how it works under the hood, what good looks like and how to start. Written to teach, with a worked example in every guide.
27 min read22 sectionsUpdated
On this page
Key takeaways
- Five guides, one picture. Uptime and synthetic checks look from outside, APM looks from inside, real user monitoring looks from the visitor’s browser, and OpenTelemetry is how you produce the inside data.
- Each guide stands alone. Every one has definitions, the mechanics, metrics and targets, a worked example with numbers, common pitfalls, a getting-started checklist, a glossary and an FAQ.
- Start from your question, not from a tool name. The table below maps common questions to the guide that answers them.
- Nothing here needs VitalRix to be useful. Where the product fits, the guide says so and links to the relevant page.
Why these five topics
Most monitoring confusion comes from one problem: several different questions share one vocabulary. "Is the site down?", "Why is checkout slow?" and "Do visitors on phones have a bad experience?" are three separate questions that need three kinds of data. Teams that blur them buy one tool, find it answers one question well, and conclude monitoring is hard.
These guides separate the questions. Read them in any order, or follow the path below if you are starting from nothing.
What is APM?
How application performance monitoring records every request from the inside: traces and spans, latency percentiles, error rate and dependencies. Includes a worked example of finding an N+1 query from a slow endpoint.
What is real user monitoring?
How a small script measures Core Web Vitals, errors and session replay from real visits, why the 75th percentile matters and how to fix a slow mobile homepage. Covers privacy as a design choice.
What is uptime monitoring?
How scheduled checks work, what 99.9% uptime really allows, how to choose an interval and a confirmation rule, and how status pages fit in. Worked example: hitting a monthly availability target.
What is OpenTelemetry?
The open standard for traces, metrics and logs: the SDK, OTLP, the Collector and semantic conventions, and how data flows from your code to a backend. Includes a Collector configuration.
What is synthetic monitoring?
Scripted, scheduled checks for APIs, browser journeys, DNS, SSL and cron jobs. How to design assertions that protect something, and a worked example protecting a checkout.
| If you are asking | The practice | Read |
|---|---|---|
| Is my site or API up right now? | Uptime monitoring | [What is uptime monitoring](/guides/what-is-uptime-monitoring) |
| Does my login or checkout still work end to end? | Synthetic monitoring | [What is synthetic monitoring](/guides/what-is-synthetic-monitoring) |
| Did my nightly job run? | Heartbeat checks, a kind of synthetic monitoring | [What is synthetic monitoring](/guides/what-is-synthetic-monitoring) |
| Why is this endpoint slow, and which query is responsible? | APM and tracing | [What is APM](/guides/what-is-apm) |
| How do I instrument my services without a vendor agent? | OpenTelemetry | [What is OpenTelemetry](/guides/what-is-opentelemetry) |
| How fast does my site feel on real phones? | Real user monitoring | [What is real user monitoring](/guides/what-is-real-user-monitoring) |
| Why did my Core Web Vitals get worse? | Real user monitoring, plus APM for server time | [What is real user monitoring](/guides/what-is-real-user-monitoring) |
| How many minutes of downtime does 99.9% allow? | Uptime monitoring | [What is uptime monitoring](/guides/what-is-uptime-monitoring) |
| Can I switch monitoring vendors later without re-instrumenting? | OpenTelemetry | [What is OpenTelemetry](/guides/what-is-opentelemetry) |
One model for all five: outside, inside, visitor
Picture a request travelling from a customer to your code and back.
Outside, on a schedule. Uptime and synthetic checks run from the internet and ask whether things work. They are the only view that still works when your own systems are down, and the only one that works with no visitors.
Inside, per request. APM sees every request your services handle, with the route, the database calls and the downstream services. It is the view that explains slowness and errors.
In the visitor's browser. Real user monitoring sees what people on real devices and networks experience, including everything that happens after your server has finished.
And the plumbing that connects them
OpenTelemetry is not another view. It is the standard way to produce the inside data (traces, metrics and logs) so that you are never tied to one vendor's agent.
The views become far more useful when linked:
- A failing synthetic check names the failing step.
- That step maps to a route in APM.
- The route opens a trace with the slow query.
- Logs sent with the trace ID show what the code decided.
- RUM shows how many visitors saw the problem.
That chain, from alert to cause, is what a good monitoring setup is for.
A reading path if you are starting from nothing
- Start with uptime. It needs no code changes and gives you your first alert in minutes. Read what is uptime monitoring, then create one monitor with a content assertion.
- Extend to synthetic checks. Add a multi-step monitor for your most valuable journey and heartbeats for scheduled jobs: what is synthetic monitoring.
- Add the browser view. Read what is real user monitoring and add one script tag. Split the results by device before drawing conclusions.
- Instrument one service. Read what is OpenTelemetry, install the SDK in your most important service and point it at your backend.
- Learn to read traces. With data flowing, read what is APM and walk through your slowest endpoint the way the worked example does.
- Close the loop. Link alerts to on-call, publish a status page and write down what you learned in a notebook so the next incident is faster.
Percentiles over averages
p95 and p99 describe what your slowest users feel; an average hides them. RUM judges Web Vitals at p75, APM watches p95 and p99, and uptime reports response-time percentiles too. The same idea, applied three ways.
Assert on what proves it works
A 200 status proves something answered. A product name, a JSON field or a successful step proves the feature works. The best alerts are built on assertions a broken page cannot satisfy by accident.
Confirm before you page
One failure is a blip. Consecutive failures, agreement between regions and sustained time windows turn an alert from a rumour into a signal, and make people trust their pager.
Link every signal to the request
The trace ID is the thread: logs carry it, traces own it and alerts can lead to it. When signals share an identifier, diagnosis stops being a search and becomes a click.
Collect less, protect more
Do not send tokens, passwords or form values. Group paths so IDs do not leak, and use least-privilege keys that can only write. Privacy is a property of the design, not an afterthought.
Targets create budgets
A 99.9% availability target is 43.2 minutes of allowed downtime in a 30-day month. Turning targets into error budgets makes trade-offs between shipping and stability explicit.
Shared vocabulary
A short reference for terms that appear in more than one guide. Each guide has its own full glossary.
- Percentile (p50, p75, p95, p99): the value that a given share of measurements stay under. p95 means 95% of requests were faster.
- Trace and span: a trace is one request across services; a span is one timed step inside it.
- Assertion: a rule a check's result must satisfy, such as a status code, some text or a JSON field.
- Error budget: the downtime or failures a target allows. At 99.9% over 30 days, about 43 minutes.
- Alert fatigue: teams learning to ignore alerts because too many are false or duplicated.
- Core Web Vitals: LCP, INP and CLS, judged at the 75th percentile. Good is 2.5 s, 200 ms and 0.1 or less.
- OTLP: the OpenTelemetry Protocol that carries traces, metrics and logs between tools.
- Sampling: keeping only a share of traces or sessions to control volume and cost.
Uptime monitoring
Website, API, SSL, DNS and heartbeat checks with assertions and multi-region confirmation.
Synthetic monitoring
Multi-step API monitors, browser journeys and ready-made database checks.
APM
Latency percentiles, error tracking, slow queries and a service map from your traces.
Real user monitoring
Core Web Vitals, JavaScript errors and privacy-safe session replay from real visits.
OpenTelemetry
Send traces and metrics with the standard SDK or a Collector, with no proprietary agent.
Alerts and incidents
Alert rules with grouping and mute windows, incident timelines and the channels your team uses.
Looking for something broader? See every capability on features, real situations in use cases, comparisons with other tools in compare, and how alerts reach your team in integrations. Reference documentation lives at docs.vitalrix.com.
Monitoring your platform
How to monitor apps on Next.js, Vercel, Netlify, Supabase, Firebase, Heroku, Render, Fly.io, Shopify and DigitalOcean: what breaks and what to watch.
How to monitor a Next.js app
How to monitor a Next.js app in production: uptime checks, Core Web Vitals, server and edge errors, OpenTelemetry traces for SSR and API routes, and alerts.
How to monitor Vercel
How to monitor apps on Vercel: what Vercel shows you, what it does not, outside uptime checks, serverless and edge function errors, traces and alerts.
How to monitor Netlify
How to monitor sites on Netlify: outside uptime checks, Netlify Functions errors, build failures, form and redirect problems, Core Web Vitals and alerts.
How to monitor Supabase
How to monitor a Supabase backend: Postgres health and slow queries, auth and REST API availability, edge function errors, connection limits and alerts.
How to monitor Firebase
How to monitor a Firebase app: Hosting uptime, Cloud Functions errors and latency, Firestore reads and costs, Authentication, Crashlytics and alerting.
How to monitor Heroku
How to monitor apps on Heroku: H12 timeouts and other router errors, dyno memory (R14), response time, Postgres and Redis add-ons, uptime checks and alerts.
How to monitor Render
How to monitor apps on Render: web service uptime and health checks, background workers, cron jobs with heartbeats, managed Postgres and Redis, and alerts.
How to monitor Fly.io
How to monitor apps on Fly.io: multi-region uptime checks, machine health, the built-in Prometheus metrics, Postgres clusters, OpenTelemetry traces and alerts.
How to monitor a Shopify store
How to monitor a Shopify store: uptime and checkout flow checks, theme and app script performance, Core Web Vitals, custom domain and SSL, and alerts.
How to monitor DigitalOcean
How to monitor apps on DigitalOcean: droplet CPU, memory and disk, App Platform services, managed databases, load balancers, uptime checks and alerts.
Incident report template
A free, copy-ready incident report template for software and IT teams: summary, impact, timeline, root cause and actions, with tips for good reports.
Root cause analysis (RCA) template
A free root cause analysis (RCA) template for software incidents with problem statement, 5 whys, contributing factors and corrective actions, ready to copy.
Runbook template
A free runbook template for on-call engineers: when it applies, impact, quick checks, mitigation, escalation and verification, ready to copy.
On-call handover template
A free on-call handover template for engineering teams: open incidents, noisy alerts, risky changes and follow-ups, so every shift starts with full context.
SLA template for SaaS and IT services
A free service level agreement (SLA) template for SaaS and IT services: uptime commitment, measurement, exclusions, support response times and service credits.
When popular Indian sites slow down
Tatkal, tax deadlines, results, UPI and IPL: why sites struggle on those days and what to do.
IRCTC slow or not working at Tatkal time: what to do
Why IRCTC slows down at 10 and 11 a.m. Tatkal opening, how to check if it is down, and practical steps to book faster with fewer errors and payment failures.
Income tax portal slow or not working near the deadline
Why the income tax e-filing portal slows down near the ITR due date, how to check if it is down, and how to file without losing work or missing the deadline.
GST portal slow or not working near the due date
Why the GST portal slows down around monthly return due dates, how to check if it is down, and how to file GSTR returns reliably when the portal is overloaded.
CBSE result website not working: where else to check
Why CBSE result websites slow down on result day, how to check if they are down, and the other official ways students use to see results, such as DigiLocker.
UPI not working today? How to check and what to do
Why UPI payments fail: bank servers, NPCI, app problems and limits. How to check if UPI is down, what to do if money is debited, and how to pay meanwhile.
IPL live stream not working? Fixes for buffering and errors
Why IPL live streams buffer or fail during big matches, how to check if JioHotstar is down, and practical fixes for buffering, login and playback errors.
Famous outages explained
What happened in the outages everyone remembers, from the companies’ own postmortems, and the lessons for your team.
The Facebook outage of October 2021, explained
Why Facebook, Instagram and WhatsApp went down for about six hours on 4 October 2021: a backbone command, withdrawn BGP routes, unreachable DNS and the lessons.
The AWS S3 outage of February 2017, explained
How a mistyped command during debugging took Amazon S3 in us-east-1 offline for about four hours on 28 February 2017, why recovery was slow, and the lessons.
The AWS us-east-1 outage of December 2021, explained
Why AWS us-east-1 had a multi-hour outage on 7 December 2021: internal network congestion after an automated scaling activity, and the lessons.
The AWS us-east-1 outage of October 2025, explained
Why AWS us-east-1 failed on 20 October 2025: a race condition left DynamoDB’s DNS record empty, the cascade that followed, and the lessons.
The Fastly outage of June 2021, explained
How one customer’s valid configuration change triggered a latent bug and took most of Fastly’s CDN down on 8 June 2021, with major sites.
The Cloudflare outage of July 2019, explained
How one regular expression in a WAF rule pushed CPU to 100% across Cloudflare’s network on 2 July 2019, causing 502 errors, and the lessons.
The Cloudflare outage of November 2025, explained
Why Cloudflare returned errors for hours on 18 November 2025: a permission change doubled a bot-management file past a limit, and the lessons.
The CrowdStrike outage of July 2024, explained
How a faulty CrowdStrike Falcon content update crashed millions of Windows machines on 19 July 2024, grounding flights, and the lessons.
The GitHub outage of October 2018, explained
How a 43-second network interruption made GitHub fail over its databases across the US on 21 October 2018, degrading it for a day.
The GitLab database incident of January 2017, explained
How an engineer deleted GitLab.com’s production database directory on 31 January 2017, why several backup methods failed, what data was lost, and the lessons.
Developer errors explained
What common error messages mean, the causes in order of likelihood and the fixes, with code.
SyntaxError: Cannot use import statement outside a module
Why Node.js throws "Cannot use import statement outside a module", and the fixes: type module in package.json, .mjs files, TypeScript and Jest settings.
TypeError: Cannot read properties of undefined
What "Cannot read properties of undefined" means in JavaScript, the usual causes such as async data and missing fields, safe fixes with optional chaining.
Error: connect ECONNREFUSED
What connect ECONNREFUSED means and why it happens with databases, Redis and APIs, especially in Docker where localhost is the container.
Error: connect ETIMEDOUT
What ETIMEDOUT means, how it differs from ECONNREFUSED, the usual causes such as firewalls, security groups and wrong IPs, and how to set timeouts.
Error: read ECONNRESET
What read ECONNRESET means, common causes such as keep-alive timeout mismatches, proxies and crashing servers, how to find which side reset, and safe retries.
Error: socket hang up
Why Node.js reports "socket hang up", from servers closing connections and timeouts to proxies and TLS problems, with steps to find the cause.
Unhandled promise rejection in Node.js
Why Node.js crashes on unhandled promise rejections, how to find the promise that failed, fix missing awaits and catch handlers.
RangeError: Maximum call stack size exceeded
What causes "Maximum call stack size exceeded" in JavaScript: infinite recursion, circular references, setters that call themselves and huge spreads.
java.lang.OutOfMemoryError: causes and fixes
Every kind of java.lang.OutOfMemoryError explained: Java heap space, GC overhead, Metaspace, unable to create native thread and direct buffer memory.
Too many open files (EMFILE)
Fix "Too many open files" and EMFILE errors: check and raise ulimit and systemd limits, find leaked file descriptors and sockets with lsof.
Database connection pool exhausted
Fix "timeout acquiring a connection" and pool exhausted errors: leaked connections, slow queries holding connections, pool sizing against database limits.
PostgreSQL: deadlock detected
Understand PostgreSQL "ERROR: deadlock detected": how two transactions block each other, reading the log details.
MySQL: Too many connections
Fix MySQL error 1040 Too many connections: check max_connections and current threads, find sleeping or leaked connections, size application pools.
Redis: OOM command not allowed when used memory > maxmemory
Fix the Redis OOM error "command not allowed when used memory > maxmemory": eviction policies, finding big keys, TTLs, fragmentation and when to add memory.
CORS error: blocked by CORS policy
Understand and fix CORS errors: what Access-Control-Allow-Origin does, preflight OPTIONS requests, credentials and server config examples.
Monitoring databases, queues and clouds
What to watch on the systems your applications depend on, and how to collect it.
MySQL monitoring: key metrics and alerts
Monitor MySQL: connections and threads, query throughput, slow queries, InnoDB buffer pool, replication lag and disk, with the SQL for each check.
MongoDB monitoring: metrics that matter
Monitor MongoDB: operation rates and latency, slow queries from the profiler, WiredTiger cache, connections, replication lag and oplog window.
Kafka monitoring: consumer lag and broker health
Monitor Apache Kafka: consumer lag per group, under-replicated partitions, broker request latency, disk usage and producer errors, with CLI checks.
RabbitMQ monitoring: queues, consumers and alarms
Monitor RabbitMQ: queue depth and message rates, unacknowledged messages, consumer counts, memory and disk alarms, and connection churn, with commands.
Elasticsearch monitoring: cluster health and performance
Monitor Elasticsearch and OpenSearch: cluster status, unassigned shards, JVM heap, search and indexing latency, thread pool rejections and disk watermarks.
HAProxy monitoring: backends, errors and queues
Monitor HAProxy: the stats page and Prometheus endpoint, backend server health, 5xx rates, queue length, session limits and response times, with alerts to set.
Apache HTTP Server monitoring
Monitor Apache HTTP Server: mod_status workers and scoreboard, requests per second, busy vs idle workers, MaxRequestWorkers limits, error logs.
IIS monitoring and IIS logs
Monitor Microsoft IIS: performance counters, request queues, application pool health and recycling, W3C log fields such as time-taken.
AWS monitoring with CloudWatch metrics
Monitor AWS workloads: which CloudWatch metrics matter for EC2, RDS, ELB and SQS, the IAM permissions to read them and the alerts to set.
AWS Lambda monitoring
Monitor AWS Lambda functions: errors, throttles, duration and cold starts from CloudWatch, tracing with OpenTelemetry, and the alerts that catch problems early.
ECS and Fargate monitoring
Monitor Amazon ECS and Fargate: CPU and memory per service, stopped-task reasons, ALB target health, logs and traces.
Azure monitoring for applications
Monitor applications on Azure: App Service, AKS and Azure SQL metrics that matter, collecting Azure Monitor metrics with the OpenTelemetry Collector.
Google Cloud monitoring for applications
Monitor applications on Google Cloud: Cloud Run, GKE, Cloud SQL and load balancer metrics that matter, pulling Cloud Monitoring time series.
OpenShift monitoring for application teams
Monitor applications on Red Hat OpenShift: pod resources against limits, restarts, route availability, built-in cluster monitoring.
Java memory usage: heap, metaspace and leaks
Understand Java memory usage: heap, metaspace, threads and direct memory, why RSS exceeds -Xmx, how to size for containers.
Python memory usage: find what uses memory
Measure and reduce Python memory usage: RSS vs allocated objects, tracemalloc snapshots, finding leaks in long-running workers.
Troubleshooting guides
Step-by-step fixes for the errors and slowdowns people search for most, each ending with how to catch the problem automatically next time.
502 Bad Gateway: causes and how to fix it
What a 502 Bad Gateway means, the common causes behind Nginx, load balancers and CDNs, how to find yours and how to stop it happening again.
503 Service Unavailable: causes and fixes
Why servers return 503 Service Unavailable, from overload and maintenance to no healthy backends, how to diagnose each cause and how to recover and prevent it.
504 Gateway Timeout: causes and fixes
What causes 504 Gateway Timeout errors, how timeouts stack across CDN, load balancer and Nginx, and how to find and fix the slow request.
500 Internal Server Error: how to find the cause
A 500 error means your code failed. Find the exception behind it fast with logs, traces and error tracking, and learn how to prevent repeats.
ERR_CONNECTION_TIMED_OUT: why a site will not load
Why browsers show ERR_CONNECTION_TIMED_OUT, how to tell a client problem from a server one, and the firewall, DNS and server checks that find the cause.
DNS_PROBE_FINISHED_NXDOMAIN: fix it for your domain
What DNS_PROBE_FINISHED_NXDOMAIN means, how to check your domain and DNS records, the usual causes such as expiry and typos, and how to monitor DNS.
ERR_TOO_MANY_REDIRECTS: how to fix a redirect loop
Fix ERR_TOO_MANY_REDIRECTS: trace the chain with curl, find the loop between CDN, server and app, such as HTTPS or www rules, and prevent it.
SSL handshake failed: causes and fixes
Why TLS handshakes fail: expired or mismatched certificates, missing intermediates, old protocols and SNI issues, with openssl commands to diagnose each cause.
Why is my website slow? A step-by-step diagnosis
Diagnose a slow website in order: server, loading, stability and responsiveness. Use real-user data, lab tests and traces to find what to fix first.
How to reduce TTFB (server response time)
Practical ways to reduce time to first byte: edge caching, fewer redirects, faster queries, warm runtimes and closer servers, in order of impact.
How to improve LCP (Largest Contentful Paint)
Improve Largest Contentful Paint by fixing the slowest of its four parts: server time, discovery delay, download time and render delay, with code.
How to fix CLS (Cumulative Layout Shift)
Fix Cumulative Layout Shift: reserve space for images, ads and embeds, tame web fonts, avoid injected banners and animate safely, with code to copy.
How to find slow database queries
Use traces to spot N+1 patterns and slow SQL statements, confirm with EXPLAIN and pg_stat_statements, then fix them with indexes and batching.
How to find a Node.js memory leak
Detect a Node.js memory leak from heap metrics, compare heap snapshots to find what retains memory, fix the usual causes and alert before a crash.
Kubernetes CrashLoopBackOff: how to fix it
Fix CrashLoopBackOff step by step: read the previous container’s logs and exit code, then solve bad config, failing probes, OOM kills or missing secrets.
Kubernetes OOMKilled (exit code 137)
Why Kubernetes kills containers with OOMKilled and exit code 137, how memory limits work, and how to tell a leak from an undersized limit.
High CPU usage on a Linux server: find the cause
Diagnose high CPU on a Linux server: read top, load, steal and iowait, find the busy process and thread, profile it and spot throttling.
Cloudflare error 520: web server returns an unknown error
Fix Cloudflare error 520 "Web server returns an unknown error": empty or reset origin responses, crashes, oversized headers and keep-alive mismatches.
Cloudflare error 521: web server is down
Fix Cloudflare error 521 "Web server is down": the origin refused the connection. Check the web server, firewall rules for Cloudflare IPs and DNS.
Cloudflare error 522: connection timed out
Fix Cloudflare error 522 "Connection timed out": the origin did not complete the TCP connection in time. Overloaded servers, dropped packets and wrong DNS.
Cloudflare error 524: a timeout occurred
Fix Cloudflare error 524: the origin accepted the connection but sent no HTTP response within 100 seconds. Find the slow request and move long work off it.
429 Too Many Requests: what it means and how to fix it
429 Too Many Requests explained: rate limits, the Retry-After header, backoff with jitter for clients, and how to set fair rate limits on your own API.
403 Forbidden: what it means and how to fix it
Fix 403 Forbidden errors: file permissions, missing index files, WAF and bot rules, IP allowlists, expired signed URLs and missing API scopes, step by step.
ERR_SSL_PROTOCOL_ERROR: how to fix it
Fix ERR_SSL_PROTOCOL_ERROR ("This site can't provide a secure connection"): HTTP on port 443, old TLS versions, broken TLS setups, proxies and antivirus.
NET::ERR_CERT_DATE_INVALID: how to fix it
Fix NET::ERR_CERT_DATE_INVALID ("Your connection is not private"): an expired or not-yet-valid certificate, or a wrong device clock. Check, renew, reload.
HTTP status codes explained, with fixes for the common errors
HTTP status codes explained by class, with what each common code means and links to step-by-step fixes for 403, 429, 500, 502, 503, 504 and Cloudflare 52x.
How-to guides
Practical setups for monitoring specific systems, and for running on-call and incident response well.
How to monitor website uptime
Set up website uptime monitoring that catches real outages: which URLs to check, intervals, regions, content assertions, alert routing and a status page.
How to monitor cron jobs
Monitor cron jobs and scheduled tasks with heartbeat checks: ping on success, pick grace periods, capture failures and duration, and cover Kubernetes CronJobs.
Kubernetes monitoring: what to watch and why
A practical Kubernetes monitoring guide: cluster, node, pod and workload metrics, the alerts worth setting, tracing services and outside checks.
PostgreSQL monitoring: key metrics and alerts
Monitor PostgreSQL: connections, slow queries, locks, replication lag, cache hit ratio, bloat and disk, with the SQL for each and the alerts to set.
Redis monitoring: metrics that matter
Monitor Redis with INFO: memory and evictions, hit rate, clients, latency, persistence and replication, with thresholds and the alerts to set.
Nginx monitoring: status, logs and alerts
Monitor Nginx with stub_status and JSON access logs: active and dropped connections, request rate, 5xx share, upstream time and alerts to set.
Docker container monitoring
Monitor Docker containers: CPU and memory against limits, restarts and health checks, container logs, and the alerts that matter on Compose hosts.
WordPress monitoring: uptime, speed and errors
Monitor a WordPress site: uptime with content checks, login and admin, Core Web Vitals, PHP errors, plugin updates, SSL expiry and backups.
How to monitor an ecommerce checkout
Monitor checkout end to end: multi-step API checks, browser journeys, payment provider latency, real-user errors and alerts on order drops.
GraphQL API monitoring
Monitor GraphQL APIs properly: errors hidden inside 200 responses, latency per operation, resolver tracing, query depth, and uptime checks that assert on data.
DNS monitoring: catch DNS changes and failures
Set up DNS monitoring: check A, AAAA, CNAME, MX, TXT and NS records against expected values, watch domain expiry and alert on changes.
Microservices monitoring: a practical guide
Monitor microservices without drowning in data: consistent naming, distributed tracing, RED metrics per service, dependency views and SLO alerts.
How to set up an on-call rotation
Set up on-call step by step: who is in it, rotation length, handoff time, layers for business hours and nights, overrides, escalation and fair compensation.
How to write a runbook
Write runbooks that work at 3 a.m.: a five-part template, a worked example for a failing payment provider, writing rules and how to keep them current.
Incident response plan: a template for software teams
An incident response plan for software teams: detection, triage, roles, communication, mitigation and postmortems, with a template you can adapt.
Incident communication templates
Copy-ready incident update templates for each stage: investigating, identified, monitoring and resolved, plus internal updates and writing rules.
Get website down alerts in Slack
Send website down alerts to Slack the right way: channel layout, what goes where, keeping noise down and backing Slack up with on-call paging.
Alerting best practices
Alerting best practices for software teams: alert on symptoms, require persistence, set severities, route to owners and review alerts monthly.
Monitoring dashboard best practices
Build monitoring dashboards people actually use: one question per board, a top-down layout, percentiles, deploy markers, template variables and TV mode tips.
How to set a log retention policy
Decide how long to keep logs, traces and metrics: debugging needs, security and compliance, cost, tiered retention and a sample policy to adapt.
How to monitor a login flow with a browser check
Monitor sign-in end to end with a synthetic browser check: a test account, the steps to script, assertions, handling 2FA and CAPTCHAs, and where to run it from.
OpenTelemetry by language and framework
Copy-paste setup for your stack. Every stack exports straight to VitalRix, with a VitalRix package for Node.js, Python, Go, Ruby and PHP.
OpenTelemetry for Python: setup guide
Add OpenTelemetry to a Python service: install the distro, auto-instrument with opentelemetry-instrument, export to VitalRix and add custom spans.
OpenTelemetry for Django
Trace a Django app with OpenTelemetry: auto-instrument views and the ORM, run under gunicorn safely, trace Celery tasks and export to VitalRix.
OpenTelemetry for Flask
Instrument a Flask app with OpenTelemetry, in code or with zero code: trace routes, SQLAlchemy and outgoing calls, and export to VitalRix.
OpenTelemetry for FastAPI
Trace a FastAPI service with OpenTelemetry: instrument the app, async database drivers and httpx, run uvicorn workers correctly and export.
OpenTelemetry for Java and Spring Boot
Trace a Spring Boot service with the OpenTelemetry Java agent: no code changes, environment config, JDBC and HTTP client spans and custom spans.
OpenTelemetry for Go
Instrument a Go service with OpenTelemetry: set up the tracer provider, wrap net/http with otelhttp, pass context everywhere and export the spans.
OpenTelemetry for .NET and ASP.NET Core
Add OpenTelemetry to an ASP.NET Core app: NuGet packages, AddOpenTelemetry for tracing and metrics, HttpClient spans and custom ActivitySource spans.
OpenTelemetry for Ruby on Rails
Trace a Ruby on Rails app with OpenTelemetry: gems, an initializer with use_all, ActiveRecord and Sidekiq spans, Puma workers and exporting to VitalRix.
OpenTelemetry for PHP and Laravel
Trace a Laravel app with OpenTelemetry: install the PHP extension and auto-instrumentation packages, configure PHP-FPM and trace queries.
OpenTelemetry for Next.js
Trace a Next.js app with OpenTelemetry using instrumentation.ts: Node.js runtime setup, JSON export straight to VitalRix, fetch spans and Edge caveats.
OpenTelemetry for NestJS
Trace a NestJS service with OpenTelemetry: load the SDK before Nest boots, instrument HTTP, Express and NestJS core, and export JSON to VitalRix.
From the blog
Longer articles on the practices behind these guides.
Reliability and incident response
- How to reduce MTTR: 12 changes that shorten every incident
- How to set SLO targets that are realistic and useful
- Error budget policy: a template and how to use it
- Synthetic monitoring vs real user monitoring: when to use each
- Website monitoring checklist: 25 checks for any site
- Health check endpoints: liveness, readiness and what to include
- Kubernetes probes explained: liveness, readiness and startup
- Zero-downtime deployments: a practical checklist
- Blue-green vs canary vs rolling deployments
- Feature flags for safe releases
- On-call health: how to make on-call sustainable
- Chaos engineering basics: start small and safe
- TLS certificate automation with ACME: avoid expiry outages
- DNS TTL best practices
- How to write an SLA customers trust
- Production readiness checklist for new services
- How to monitor third-party APIs you depend on
- Uptime vs availability vs reliability: what is the difference?
Observability and backend engineering
- SRE vs DevOps vs platform engineering: what is the difference?
- How to reduce observability costs without going blind
- OpenTelemetry vs Prometheus: which one do you need?
- OpenTelemetry Collector best practices for production
- OpenTelemetry semantic conventions: the attributes that matter
- Graceful shutdown in Kubernetes: no dropped requests on deploy
- Kubernetes requests and limits: how to set them
- Kubernetes HPA: autoscaling that keeps up with traffic
- Database connection pooling explained
- Rate limiting strategies for APIs
- Retries with exponential backoff and jitter
- Idempotency keys: making API retries safe
- The circuit breaker pattern, explained with examples
- Timeouts in distributed systems: how to set them
- Zero-downtime database migrations
- Capacity planning for web services
- Distributed tracing best practices
- How to add trace IDs to your logs (every language)
- API error handling best practices
- Monitoring background jobs and queues
Web performance
- Database indexing for developers: a practical guide
- Caching strategies for web applications
- Load testing guide: find limits before your users do
- Web performance budgets: set them and keep them
- How to reduce JavaScript bundle size
- Third-party scripts and web performance
- Preload, prefetch and preconnect: resource hints explained
- HTTP caching headers explained
- HTTP/2 vs HTTP/3: what changes and does it matter?
- From FID to INP: what changed and what to do
- PostgreSQL performance tuning: where to start
- Nginx performance tuning for web applications
Glossary
Short definitions of the terms used across these guides, from spans and OTLP to burn rate and runbooks. See the full monitoring glossary.
Which monitoring guide should I read first?
Start with uptime monitoring if you have nothing in place: it needs no code changes and gives you your first alert quickly. If you already have uptime checks and need to understand slowness, read the APM guide.
Do I need all five practices?
Not on day one. Most teams begin with uptime, add synthetic checks for critical journeys, then real user monitoring and APM as traffic and complexity grow. OpenTelemetry becomes relevant when you instrument services.
What is the difference between monitoring and observability?
Monitoring watches for known problems with checks and alerts. Observability is the ability to ask new questions of a running system using linked traces, metrics, logs and user data. You need monitoring to be told something is wrong and observability to find out why.
How do uptime monitoring and synthetic monitoring differ?
Uptime monitoring is the simplest synthetic check: a request and a few assertions. Synthetic monitoring in the broader sense adds multi-step flows, browser journeys, heartbeats and data store checks.
Is real user monitoring better than synthetic monitoring?
Neither is better; they answer different questions. RUM shows how real visitors experience the site and works only when someone visits. Synthetic checks work at any hour and catch outages, but show one controlled environment.
Where does APM fit?
APM is the inside view. Uptime and synthetic checks say that something is wrong, and APM shows which route, query or service is responsible. Real user monitoring says who was affected.
Why does everyone talk about OpenTelemetry?
It is the vendor-neutral standard for producing traces, metrics and logs. Instrument once, send the data to any compatible tool and change destinations by configuration rather than by rewriting code.
Do the guides assume I use VitalRix?
No. They teach the practices in general terms. Where VitalRix has a relevant feature, it is mentioned and linked, and the checklists are written in VitalRix terms so you can follow them directly.
What are good targets for latency and Core Web Vitals?
Core Web Vitals at the 75th percentile: LCP 2.5 seconds or less, INP 200 ms or less and CLS 0.1 or less. For API latency, many teams start near 300 ms at p95 for reads and tune from their own baseline. The guides explain how to set them for your service.
How often are the guides updated?
Each guide carries a last-reviewed date and is checked against how VitalRix works at that time. General statements about standards such as HTTP, OpenTelemetry and Web Vitals follow their published definitions.
Where can I read the product documentation?
Setup steps and reference for every VitalRix product are at https://docs.vitalrix.com. The guides link to the relevant page from each getting-started checklist.
Start monitoring in a few minutes
Create a free account, add your first website or API, and get an alert the moment it breaks. No credit card needed.