Observability Best Practices: The 2027 Guide and Checklist

Ready to get started?
Try OpenObserve Cloud today for more efficient and performant observability.

Observability best practices are the habits that let a team answer "what is broken, for whom, and why?" from its telemetry, quickly and without overspending. In 2027 that means defining SLOs first, instrumenting with OpenTelemetry, linking logs, metrics, and traces, alerting on error-budget burn, and controlling data volume at the source.
TL;DR
- Good observability starts with the questions users care about, written as SLOs, and only then decides which logs, metrics, and traces to collect.
- OpenTelemetry, consistent attribute names, and trace IDs in every log line are what make the three signals work together during an incident.
- Alerts should page on symptoms and error-budget burn rate, while causes such as high CPU belong on dashboards.
- Cost control is a practice, not a clean-up project: sample traces, cap cardinality, filter data in a pipeline, and tier retention.
- OpenObserve is the best fit for applying these practices, because it brings every signal, SLOs, alerts, incidents, and pipelines together in one open-source platform. You can try it on OpenObserve Cloud.
What are observability best practices?
Observability best practices are a set of engineering habits for collecting, connecting, and acting on telemetry (logs, metrics, traces, and related signals) so you can understand any state your system gets into, including ones you didn't predict. They cover what you instrument, how you name and structure data, how you store and pay for it, and how alerts and incidents turn that data into action.
If you are new to the idea, our guide on what observability is covers the basics. This post assumes you already collect some telemetry and want to do it well.
Why do observability best practices matter in 2027?
Most teams no longer struggle to collect telemetry. They struggle with what happens after: too many tools, alerts nobody trusts, bills that grow faster than traffic, and incidents where the logs and traces don't line up.
Three shifts make good habits more important this year:.
- OpenTelemetry has become the default way to instrument. That is good news for portability, but only if you also agree on names and attributes, or every team's data still looks different.
- AI assistants and agents now query telemetry directly. An AI root cause analysis is only as good as the data it reads. Consistent, correlated, well-labelled telemetry gives it something to reason over.
- Telemetry volume keeps growing with every new service and AI feature. Without sampling, filtering, and retention rules, cost becomes the reason teams turn observability off.
How does an observability practice fit together?
Think of observability as a loop, not a pipeline that ends at a dashboard. Each stage feeds the next, and incidents feed lessons back into what you measure.
The twelve practices below map onto this loop: practices 1 to 5 cover defining and instrumenting, 6 to 8 cover processing and storage, and 9 to 12 cover alerting, response, and review.
Observability vs monitoring best practices: what's different?
Monitoring best practices focus on watching known failure modes. Observability best practices add the ability to investigate failures nobody predicted. You need both, and the difference shows up in how you collect and use data.
| Area. | Monitoring habit. | Observability habit. |
|---|---|---|
| Starting point. | A list of things that broke before. | The user experience, written as SLOs. |
| Data. | Pre-aggregated metrics per host. | Logs, metrics, and traces with shared context. |
| Detail. | Averages and fixed dashboards. | High-detail events you can slice by any field. |
| Alerts. | Thresholds on causes (CPU > 90%). | Symptoms and error-budget burn rate. |
| Investigation. | Jump between tools and guess. | Follow a trace ID from alert to log line. |
| Outcome. | "Something is wrong". | "This is wrong, for these users, because of this". |
For a deeper comparison, see observability vs monitoring.
12 observability best practices for 2027
1. Define SLOs before you build dashboards
A service level objective (SLO) is a target for how often a service must behave well, measured over a window, such as "99.9% of checkout requests succeed over 30 days". The measurement itself is the service level indicator (SLI), and the room for failure the target leaves you is the error budget.
Start here because SLOs tell you what data you actually need. If checkout availability is the goal, you need request counts and failure counts per endpoint long before you need a node CPU dashboard.
Worked example: a 99.9% target leaves an error budget of 0.1% of the window. Over 30 days that is about 43 minutes of failure; over 7 days it is about 10 minutes (Source: OpenObserve SLO docs). A single 15-minute outage spends roughly a third of the monthly budget.
Pick two or three SLOs per user-facing service: usually availability (share of successful requests) and latency (share of requests faster than a threshold). Our guide on setting meaningful SLOs walks through choosing targets.

When you type a 99.9% target with a 30-day window, the New SLO form converts it to an error budget of 43 minutes, so the team sees what the target allows before saving it.
2. Instrument every service with OpenTelemetry
OpenTelemetry (OTel) is the open, vendor-neutral standard for generating and exporting logs, metrics, and traces. Instrumenting with OTel SDKs and sending data through the OpenTelemetry Collector means you can change backends without re-instrumenting every service.
Use auto-instrumentation first to get HTTP, database, and messaging spans for free, then add manual spans around the business steps that matter (charging a card, reserving stock). Send everything over OTLP to a Collector rather than straight from each app to a vendor, so you have one place to sample, filter, and route data.

In OpenObserve, Data > Data sources gives you a ready-made Collector config (OTLP HTTP, OTLP gRPC, or SDK environment variables) for your organization. Endpoint and credentials are shown as placeholders here; the page fills in your own.
3. Standardise OpenTelemetry resource attributes and naming
Consistent naming is what lets you filter every signal the same way. Agree on a small set of resource attributes from the OpenTelemetry semantic conventions and set them on every service:.
export OTEL_SERVICE_NAME="checkout"
export OTEL_RESOURCE_ATTRIBUTES="service.version=1.4.2,deployment.environment.name=production,service.namespace=shop"
With these in place, "show me errors for checkout in production since version 1.4.2" works across logs, metrics, and traces. Without them, one team writes env=prod, another environment=production, and every query needs a translation table. Write the agreed names into a short internal convention and check them in code review.
4. Write structured logs that carry trace IDs
Structured logs are log lines written as key-value data (usually JSON) instead of free text, so every field can be searched and aggregated. The most valuable fields to add are the active trace_id and span_id, which link each log line to the request that produced it.
{
"timestamp": "2026-12-03T09:14:22.481Z",
"level": "error",
"service.name": "payment",
"message": "Timeout calling payment provider after 30s",
"trace_id": "0ebe36eb65de0ad45f6746d2841a878a",
"span_id": "e4795488cb1a6e13",
"http.route": "/api/v1/checkout",
"order_id": "ord_82734"
}
Now an alert on checkout errors can take you to a failing trace, and the trace can take you straight to the log lines for that one request. OTel logging bridges for most languages add the trace context for you. Our structured logging best practices guide covers field naming and log levels in more depth.

In the trace above, the payment span failed with a TimeoutError. Because the logs carry the same trace ID, View Logs shows exactly the log lines for this request instead of every payment log from that minute.
5. Track the four golden signals for every service
The four golden signals, described in Google's Site Reliability Engineering book, are latency, traffic, errors, and saturation (Source: Google SRE book, "Monitoring Distributed Systems"). They give every service the same first-glance health view.
| Signal. | What it answers. | Example for a checkout API. |
|---|---|---|
| Latency. | How long do requests take? | p95 of POST /checkout duration, split by success and failure. |
| Traffic. | How much demand is there? | Requests per second to checkout. |
| Errors. | How many requests fail? | Share of responses with status 5xx or a failed payment. |
| Saturation. | How close to full is it? | Connection pool usage, queue depth, CPU throttling. |
Measure latency for failed requests separately: a fast error can make average latency look better while users suffer. Build one standard service dashboard with these four panels and reuse it for every service, so on-call engineers never have to learn a new layout during an incident.
6. Keep metric cardinality under control
Cardinality is the number of unique time series a metric produces, which is the number of distinct combinations of its label values. A request counter with labels for service, route, and status might produce a few hundred series. Add a user_id label and it can produce millions.
The Prometheus documentation advises against labels with unbounded values such as user IDs or email addresses for exactly this reason. Follow three rules:.
- Use bounded labels on metrics: service, route template (
/orders/{id}, not/orders/82734), status class, region. - Put unbounded values in logs and trace attributes, where you can still search them per request.
- Watch series counts per metric and alert when one grows suddenly, which usually means someone added a bad label.
Our post on high cardinality explains why it hurts some backends far more than others.
7. Use tail-based trace sampling to control volume
Trace sampling means keeping only some traces to control volume. Head sampling decides when a request starts; it is simple but blind, so it can drop the one failing request you needed. Tail sampling decides after the whole trace is complete, so it can keep traces based on what happened.
The OpenTelemetry Collector's tail_sampling processor (in the Collector contrib distribution) supports this. A common starting policy keeps every error, every slow trace, and a small share of everything else:.
processors:
memory_limiter:
check_interval: 1s
limit_percentage: 80
tail_sampling:
decision_wait: 10s
policies:
- name: keep-errors
type: status_code
status_code: { status_codes: [ERROR] }
- name: keep-slow
type: latency
latency: { threshold_ms: 500 }
- name: baseline
type: probabilistic
probabilistic: { sampling_percentage: 10 }
batch: {}
exporters:
otlphttp/openobserve:
endpoint: <O2_ENDPOINT>/api/<O2_ORG>
headers:
Authorization: Basic <BASE64_AUTH>
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, tail_sampling, batch]
exporters: [otlphttp/openobserve]
Tail sampling needs all spans of a trace to reach the same Collector instance, so plan for that when you scale out. See head-based vs tail-based sampling for the trade-offs.
8. Filter, redact, and enrich telemetry in a pipeline
Every byte you store costs money and every secret you store is a risk. Process telemetry in a pipeline on the way in, not after the bill arrives:.
- Drop what nobody queries: debug logs in production, health-check requests, duplicate fields.
- Redact sensitive data such as emails, card numbers, and tokens before it reaches storage.
- Enrich events with context you will filter on later, such as team ownership or customer tier from a lookup table.
- Route data by value: security logs to long retention, chatty debug streams to short retention.
You can do this in the OpenTelemetry Collector, in OpenObserve pipelines with VRL functions and enrichment tables, or both. Decide on a redaction policy once and apply it at ingestion, so nobody has to remember it during an incident.
9. Alert on symptoms and error-budget burn rate
Page people for what users feel, not for every cause. High CPU, a restarted pod, or a full queue are causes: show them on dashboards. A rising checkout error rate or a fast-burning error budget is a symptom: page for it.
Burn rate is how fast you are spending the error budget, as a multiple. At ×1 the budget runs out exactly at the end of the window; at ×14.4 a 30-day budget is gone in about two days (Source: OpenObserve SLO docs). The chart shows how quickly a 30-day budget disappears at different burn rates.
Use multi-window burn-rate alerts so a short spike doesn't page anyone but a sustained burn does. OpenObserve's SLO alert form suggests three presets based on the Google SRE workbook (Source: OpenObserve SLO alerting docs):.
| Preset. | What it does. | Long / short window. | Threshold for a 30-day SLO. |
|---|---|---|---|
| Fast burn. | Page someone now. | 1h / 5m. | ×14.4. |
| Mid burn. | Notify the team channel. | 6h / 30m. | ×6. |
| Slow burn. | Open a ticket for the week. | 24h / 2h. | ×3. |
Both windows must be above the threshold before the alert fires, which filters out brief blips. Read more in our guide to SLO-based alerting, and see the OpenObserve SLO docs for the full setup.
10. Reduce alert noise and review alerts regularly
An alert that fires often and needs no action teaches people to ignore alerts. Treat noise as a bug:.
- Every page needs an owner, a severity, and a runbook link. If nobody knows what to do, it shouldn't page.
- Combine related signals. A composite alert such as
high_error_rate && (high_latency || database_unavailable) && !deployment_in_progresspages only when independent signals line up (Source: OpenObserve composite alerts docs). - Silence planned work. Schedule maintenance windows so alerts keep evaluating but don't notify during a known change.
- Review alert history monthly. Look for alerts that fire constantly, never fire, or fire and resolve on their own within minutes, then fix or delete them.

Alert History shows every evaluation with its status and the value that triggered it. An alert that flips between Firing and Normal every few minutes is a candidate for a longer window or a composite condition. Our post on alert fatigue covers more ways to reduce noise.
11. Tier data retention and track observability costs
Not all telemetry needs the same lifetime. Set retention per stream based on how the data is used:.
| Data. | Typical use. | Retention approach. |
|---|---|---|
| Debug and verbose app logs. | Live troubleshooting. | Short (days). |
| Error logs and traces. | Incident investigation, postmortems. | Medium (weeks). |
| Service metrics. | Trends, capacity planning, SLO history. | Long, downsampled after a few weeks. |
| Audit and security logs. | Compliance and forensics. | Long, on low-cost object storage. |

In OpenObserve you set retention per stream under Data > Streams > Stream Detail > Configuration. Here a chatty web access log stream keeps 7 days instead of the 30-day default, while Extended Retention can keep specific time ranges much longer.
Make cost visible per team or service, for example by tracking ingested volume per service.name, so the team that adds a noisy log line sees the effect. Storage architecture matters too: columnar files on object storage cost far less per GB than replicated disk-based indexes. Our observability cost optimization tactics post goes deeper.
12. Manage observability as code and close the loop after incidents
Dashboards, alerts, SLOs, and pipelines are production configuration. Keep them in version control, review changes, and deploy them the same way you deploy services, so a deleted alert can be restored and a new service gets the standard dashboard on day one.
Then close the loop. After every significant incident, ask three questions:.
- Did an alert fire before users noticed? If not, add or tune an SLO or symptom alert.
- Could the on-call engineer get from the alert to the cause using the telemetry alone? If not, add the missing attribute, span, or log field.
- Did any alert fire that didn't help? Remove or downgrade it.
Track mean time to detect and mean time to resolve over time; if both fall, your observability practice is working.
Common observability mistakes to avoid
| Mistake. | Why it hurts. | Fix. |
|---|---|---|
| Collecting everything "just in case". | Cost grows faster than value; signal gets buried. | Start from SLOs; drop unqueried data in a pipeline. |
| A separate tool per signal. | Context switching during incidents; no shared IDs. | Store logs, metrics, and traces in one place, linked by trace ID. |
| Alerting on causes. | Pages that need no action, so real pages get ignored. | Page on symptoms and burn rate; put causes on dashboards. |
| Inconsistent attribute names. | Queries break across teams and services. | Adopt OTel semantic conventions and enforce them. |
| User IDs as metric labels. | Cardinality explosion and slow queries. | Keep unbounded values in logs and trace attributes. |
| Random head sampling only. | Failing requests get dropped. | Tail-sample to keep errors and slow traces. |
| Dashboards nobody owns. | Stale panels that mislead during incidents. | Manage dashboards as code with an owner per folder. |
How do you measure observability maturity?
Use this table to find where your team is today and what the next step looks like.
| Stage. | What it looks like. | Next step. |
|---|---|---|
| Reactive. | Users report incidents; logs on individual hosts. | Centralise logs and add the golden signals. |
| Monitored. | Dashboards and threshold alerts per host. | Add traces and trace IDs in logs. |
| Correlated. | One backend; alerts link to traces and logs. | Define SLOs and move paging to burn rate. |
| SLO-driven. | Error budgets guide releases and paging. | Add pipelines for cost control and redaction. |
| Assisted. | AI-assisted investigation on correlated data. | Review alerts and SLOs every quarter. |
Useful numbers to track as you progress: mean time to detect, mean time to resolve (see our MTTR guide), the share of incidents first detected by an alert rather than a user, and the share of pages that led to action.
Observability best practices checklist
Work through this list one item at a time. Each item maps to a practice above.
- Each user-facing service has 2 or 3 SLOs with targets and windows.
- Every service is instrumented with OpenTelemetry and exports through a Collector.
-
service.name,service.version, anddeployment.environment.nameare set everywhere. - Logs are structured JSON and include
trace_idandspan_id. - A standard dashboard shows latency, traffic, errors, and saturation per service.
- No metric uses unbounded labels such as user ID, email, or raw URL.
- Traces are tail-sampled to keep errors and slow requests.
- A pipeline drops noise and redacts sensitive data before storage.
- Paging alerts are symptom-based or burn-rate-based, each with a runbook.
- Related alerts are combined, and maintenance windows silence planned work.
- Alert history is reviewed every month.
- Retention is set per stream, and ingested volume is visible per team.
- Dashboards, alerts, and SLOs live in version control.
- Every major incident ends with a review that updates SLOs, alerts, or instrumentation.
How does OpenObserve help you apply observability best practices?
OpenObserve is an open-source (AGPL-3.0) observability platform that stores logs, metrics, traces, and frontend data together and lets you query them with SQL and PromQL. Each practice in this guide maps to a built-in feature:.
| Practice. | OpenObserve feature. |
|---|---|
| 1. SLOs. | SLOs with count, time-slice, and alert-based SLIs, error budgets, and burn rate. |
| 2-3. OpenTelemetry and naming. | OpenTelemetry-native OTLP ingestion for logs, metrics, traces, and profiles; Prometheus remote write. |
| 4. Correlation. | Trace waterfall with linked logs, service graph, and service catalog. |
| 5. Golden signals. | Dashboards with variables and comparisons; service catalog latency and error rates. |
| 6-8. Cardinality, sampling, processing. | Pipelines with VRL functions, enrichment tables, and sensitive data redaction. |
| 9. Burn-rate alerts. | SLO alerts with fast, mid, and slow burn presets. |
| 10. Alert noise. | Composite alerts, downtimes, alert history, and alert calibration. |
| 11. Retention and cost. | Parquet on object storage, per-stream and extended retention, downsampling. |
| 12. Incidents. | Incident management with AI root cause analysis and on-call escalation. |
When an alert fires, OpenObserve groups related alerts into an incident and its SRE agent investigates the correlated logs, metrics, and traces. The result is a root cause write-up with a timeline and the evidence it checked.

Beyond the practices above, OpenObserve covers the rest of the stack in the same platform:.
- Frontend and synthetic monitoring: real user monitoring, session replay, error tracking, and scheduled browser and protocol checks.
- AI: AI Assistant for natural-language questions, SRE agent for root cause analysis, an MCP server for AI agents and IDEs, LLM observability and evaluations, anomaly detection, log patterns, and insights.
- Reporting: scheduled dashboard reports by email in PDF, PNG, or CSV.
- Storage and cost: Parquet files on object storage, bring your own bucket (BYOB) on OpenObserve Cloud, and ingest-based pricing with no per-host or per-user fees. OpenObserve reports approximately 140x lower storage costs in typical log workloads compared to Elasticsearch-based stacks; actual results vary based on data entropy and cardinality.
- Security and governance: SSO, RBAC, multi-tenant organizations, sensitive data redaction, audit trail, cipher keys, and federated search.
- Compliance: SOC 2 Type II, ISO 27001, and GDPR support through the EU region on OpenObserve Cloud.
- Open standards: OpenTelemetry-native ingestion, PromQL and SQL querying, and an open-source core you can self-host.
Get started with OpenObserve
- Try it hosted: sign up for OpenObserve Cloud and send OTLP data in minutes.
- Self-host it: follow the OpenObserve quickstart to run a single binary or deploy on Kubernetes.
- Set up your first SLO and composite alert: see the composite alerts docs.
- Read next: Kubernetes monitoring best practices and our logging best practices.
Frequently Asked Questions
About the Author
Follow OpenObserve on Google
Add OpenObserve as a preferred source to see more of our articles in Google Search and Top Stories.











