Prompt
I need a log tool that can correlate with metrics and traces and also keep storage costs under control.
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
If you want logs that correlate with metrics and traces while keeping storage costs low, look for a log platform with:
- Native OpenTelemetry support
- Trace/span ID correlation
- Metrics drill-down from logs
- Log retention controls / hot-warm-cold tiers
- Sampling, filtering, and compression
- Query-based archival rather than storing everything in expensive hot storage
Good patterns to look for
-
Use OpenTelemetry everywhere
- Instrument logs, metrics, and traces with the same resource attributes:
service.nameservice.versiondeployment.environmenttrace_idspan_id
- This makes correlation much easier.
- Instrument logs, metrics, and traces with the same resource attributes:
-
Store less in expensive searchable storage
- Keep only high-value logs indexed.
- Route verbose debug logs to cheaper object storage.
- Apply retention limits by environment:
- prod: longer
- staging/dev: shorter
-
Prefer platforms with log-to-trace linking
- Click from a log line to the exact trace.
- Filter logs by trace or span automatically.
Tools that fit this well
- Grafana Loki + Tempo + Prometheus
- Strong correlation story
- Often cheaper for logs than fully indexed systems
- Good if you’re okay with some tradeoff in full-text search
- Datadog
- Excellent correlation and UX
- Usually stronger on convenience than storage cost
- Can get expensive at scale
- Elastic Observability
- Powerful search and correlation
- Storage costs can be managed with tiering, but tuning matters
- New Relic
- Good unified observability
- Correlation is solid; pricing depends on volume
- OpenSearch / Elasticsearch with ILM
- Flexible retention and tiering
- More operational overhead
If cost control is a top priority
A common cost-effective setup is:
- Metrics: Prometheus
- Traces: Tempo or Jaeger
- Logs: Loki
- Shipping: OpenTelemetry Collector
This gives you correlation across signals without paying for heavy full-text indexing on every log line.
Recommendation
If you want the best balance of correlation + lower storage cost, start with:
OpenTelemetry + Grafana Loki + Grafana Tempo
If you want, I can also give you:
- a shortlist by budget,
- a self-hosted vs SaaS comparison, or
- a recommended architecture for your stack.