Prompt
Do I need a time-series database for logs and traces too?
Latest observation
Oct 26, 2026
OpenAI APIWeb search: off
Not necessarily.
Logs and traces are often time-indexed, but that doesn’t automatically mean you need a time-series database (TSDB) for them.
Typical storage choices
- Metrics: usually a TSDB is a great fit.
- Logs: usually better in a search/index system or log platform (e.g., Elasticsearch/OpenSearch, Loki, Splunk).
- Traces: usually stored in a tracing backend or observability platform (e.g., Jaeger, Tempo, Honeycomb, Datadog).
Why not always a TSDB?
Logs and traces have different access patterns:
- Logs: you want full-text search, filtering by fields, and high-volume ingestion.
- Traces: you want to query by trace/span attributes, service graphs, exemplars, and sampled events.
- Metrics: you want fast aggregation over time ranges, which is what TSDBs excel at.
When a TSDB could still help
A TSDB can be useful if:
- you only need time-based filtering
- your logs/traces are heavily structured
- you want cheap retention and simple queries
- you’re building a system where everything is treated as time-series data
But for most observability stacks, using a TSDB for logs/traces is usually not the best primary choice.
Practical recommendation
- Use a TSDB for metrics
- Use a log backend for logs
- Use a trace backend for traces
If you want, I can also suggest a simple observability storage architecture for a small team vs. production scale.