Comprehensive guide to observability platform selection for production observability and monitoring systems.
Observability platform selection is the process of evaluating and choosing a system to collect, store, visualise, and analyse telemetry data—logs, metrics, and traces—across a distributed system. It matters when a team outgrows their current monitoring stack, when they must support a new service architecture (e.g., microservices with service meshes), or when they face recurring incidents that span multiple services and systems. The decision shapes how engineers understand system behaviour, respond to alerts, and diagnose problems.
When selecting an observability platform, start by validating that it supports the three pillars: logs, metrics, and traces, and that the integration between them is seamless. A platform must ingest structured logs from services and applications, expose metrics at multiple granularities (per-service, per-instance, per-container), and support distributed tracing with low-latency, high-coverage sampling.
The platform must collect logs via standard protocols. It should accept structured JSON logs via HTTP, with fields mapped to metadata. For example, a service logging in JSON format:
{
"timestamp": "2024-04-05T12:34:56.789Z",
"level": "error",
"service": "user-auth",
"trace_id": "a1b2c3d4e5f6",
"span_id": "7890abcdef",
"message": "Failed to validate JWT token",
"error": {
"type": "JWTValidationError",
"code": 401,
"details": [
"Token expired",
"Signature verification failed"
]
}
}
The platform must extract trace_id and span_id to correlate logs with traces. It must also allow automatic metric extraction from logs: for instance, derive a http_request_duration_ms metric from logs where message contains Completed request in X ms.
Metrics must be ingested via OpenMetrics, Prometheus exposition format, or a custom HTTP API. A typical scrape configuration in Prometheus is:
scrape_configs:
- job_name: 'user-auth'
static_configs:
- targets: ['user-auth:8080']
metrics_path: '/metrics'
scheme: 'http'
relabel_configs:
- source_labels: [__meta_kubernetes_pod_name]
target_label: pod
- source_labels: [__meta_kubernetes_service_name]
target_label: service
The platform must support metrics at the instance, pod, and cluster levels, with automatic discovery of new instances via service discovery (e.g., Kubernetes, Consul, or DNS).
Distributed tracing must use OpenTelemetry or W3C Trace Context standards. Traces must be sampled using probabilistic sampling: 10% of all spans are recorded, and the root span includes a trace_id that propagates across services. The platform must support both client-side and server-side trace propagation, including automatic extraction from HTTP headers:
GET /api/v1/user/123 HTTP/1.1
Host: user-auth.example.com
traceparent: 00-0af7651916cd43dd8448eb211c85503b-1e109321044b83d4-01
tracestate: otid=4bf92f3577b34da6a3ce834d90083874
The platform must resolve these headers into a continuous trace across services and show the trace timeline with service boundaries, latency breakdowns, and context propagation.
The next step is to evaluate how the platform handles data flow from ingestion to query and alerting. Data must be ingested in real time with predictable latency. A service sending 10,000 logs per second must have a 5-second end-to-end latency from log emission to visibility in the platform’s UI.
The platform must support real-time stream processing. It should use a message queue (e.g., Kafka, Pulsar, or NATS) as a buffer between data sources and storage. For example, a Kafka topic named logs-raw receives logs from all services:
kafka-console-producer.sh --bootstrap-server kafka.example.com:9092 --topic logs-raw
Each log message is a JSON object, and the platform consumes from this topic using a consumer group. The consumer group must balance load across workers and handle failures with zero data loss.
The platform must support schema evolution: when a new field is added to logs (e.g., request_id), the platform must auto-detect it and make it queryable without manual configuration. A query like:
SELECT service, avg(http_request_duration_ms)
FROM logs
WHERE level = 'error'
AND timestamp >= now() - 1h
GROUP BY service
must work immediately after the new field is added, even if some logs have request_id and others do not.
The platform must support filtering and aggregation in real time. A dashboard should allow users to filter logs by trace_id and simultaneously view metrics from the same time window. The query engine must support time-series aggregation, such as:
SELECT
time_window(1m),
count(*) as events,
avg(response_time_ms) as avg_latency,
percentile(response_time_ms, 0.95) as p95_latency
FROM metrics
WHERE service = 'payment'
AND timestamp >= '2024-04-05T10:00:00Z'
GROUP BY time_window
The platform must store data with different retention policies. For example:
The platform must provide a powerful query language for exploratory analysis. It must support a SQL-like syntax with window functions, joins, and user-defined functions. For example:
WITH error_spans AS (
SELECT * FROM traces
WHERE status = 'error'
AND duration_ms > 1000
)
SELECT
service,
count(*) as error_count,
avg(duration_ms) as avg_error_duration,
median(duration_ms) as med_duration,
listagg(operation_name, '; ') as operations
FROM error_spans
GROUP BY service
ORDER BY error_count DESC
LIMIT 10
The platform must support alerting based on complex conditions. Alerts must be defined as queries over time-series data or logs, with thresholds, aggregations, and anomaly detection.
An alert configuration might look like:
{
"name": "High Latency in Payment Service",
"query": "SELECT avg(duration_ms) FROM metrics WHERE service = 'payment' AND timestamp >= now() - 10m",
"condition": {
"type": "threshold",
"value": 2000,
"comparison": "greater_than",
"window": "5m"
},
"severity": "critical",
"frequency": "15m",
"notifications": [
{
"channel": "slack",
"target": "#alerts-prod",
"template": "Payment service latency > {{value}}ms in last {{window}}"
},
{
"channel": "email",
"recipients": ["[email protected]"],
"subject": "High latency in payment service"
}
]
}
The platform must support alert deduplication and suppression. When the same alert fires multiple times in a short window, it must group them into a single notification. It must allow alert silencing (e.g., during maintenance windows) and support alert annotations (e.g., “Database migration in progress”).
The platform must be operationally resilient. It must handle data ingestion spikes without dropping data. During a peak hour, the platform must ingest 50,000 events per second with less than 1% loss, even if a component fails.
The platform must support self-healing. When a data pipeline component (e.g., log processor) fails, the platform must detect the failure and trigger a recovery process. It must provide health checks via HTTP endpoints:
GET /health
Expected response:
{
"status": "healthy",
"components": {
"ingestion": {
"status": "running",
"latency_ms": 12,
"messages_in_last_5m": 340000
},
"query_engine": {
"status": "running",
"queries_per_second": 120,
"active_queries": 42
},
"alerting": {
"status": "running",
"pending_alerts": 18,
"last_alert_sent": "2024-04-05T12:45:30Z"
}
}
}
The platform must support rolling upgrades. When a new version of the query engine is deployed, the old and new versions must coexist, and the platform must gradually shift queries to the new version with zero downtime.
The platform must support multi-tenancy. It must allow different teams or environments (prod, staging, dev) to have isolated data and dashboards, with shared access to global metrics and traces. Tenants must be identified by a tenant_id field in logs and metrics.
A common failure mode is mismatched timestamps. Logs and metrics may use different time zones or precision. The platform must support time zone conversion and alignment of data across sources. A trace might show a span starting at 2024-04-05T12:34:56.789Z, but a metric point may be recorded at 2024-04-05T12:34:57.000Z. The platform must align these timestamps during joins and aggregations.
Another silent failure is incorrect trace context propagation. If a service does not set traceparent headers in outgoing HTTP requests, traces become fragmented. The platform must detect this by showing “missing trace context” warnings in the UI and allow filtering for spans with no parent.
Log ingestion can fail silently. A service may emit logs but the platform does not receive them. The platform must expose ingestion health: a dashboard showing the number of logs received per minute, with alerting on drops. A drop of 20% or more over 5 minutes triggers a notification.
The platform must support custom instrumentation via SDKs. A service using a language-specific SDK (e.g., OpenTelemetry SDK in Go) must emit spans and metrics automatically. The SDK must allow manual instrumentation:
import "go.opentelemetry.io/otel"
import "go.opentelemetry.io/otel/trace"
func handleRequest(w http.ResponseWriter, r *http.Request) {
tracer := otel.Tracer("payment-service")
ctx, span := tracer.Start(r.Context(), "handleRequest")
defer span.End()
// Perform work
result, err := db.Query(ctx, "SELECT * FROM payments WHERE user_id = ?", userID)
if err != nil {
span.RecordError(err)
span.SetAttributes(attribute.String("error", err.Error()))
}
span.SetAttributes(
attribute.String("user.id", userID),
attribute.Int("result.count", len(result)),
)
// Return response
w.WriteHeader(200)
}
The platform must automatically extract these spans and make them available in the trace view.
After evaluating these dimensions, the team must decide on the final platform. They should document the decision process with:
The platform must support configuration via declarative files. A typical configuration might be:
observability:
ingestion:
logs:
source: kafka
topic: logs-raw
format: json
schema: auto
metrics:
source: prometheus
endpoint: http://prometheus:9090/metrics
job: user-auth
traces:
source: otel
endpoint: http://collector:4317
protocol: grpc
storage:
logs:
backend: s3
bucket: observability-logs
retention: 30d
metrics:
backend: clickhouse
table: metrics
retention: 7y
traces:
backend: elasticsearch
index: traces
retention: 180d
alerting:
default_frequency: 15m
notification_channels:
- type: slack
webhook_url: https://hooks.slack.com/services/...
- type: email
smtp:
host: smtp.example.com
port: 587
username: [email protected]
password: "secret"
The chosen platform must be documented with a reference guide: how to write queries, how to create dashboards, how to troubleshoot common issues, and how to extend the platform with custom pipelines.
This page was rewritten on 18 October 2026. It replaced a templated version that was not specific to its own title. How these pages are written and checked. If anything here is wrong, tell us at [email protected] and we will correct it.
We use cookies for analytics (Google Analytics) and advertising (Google AdSense) to improve your experience and support free content. Privacy Policy