Prompt
I'm building an internal platform and want one place for metrics logs and traces
Latest observation
A good pattern is to treat this as an observability platform with a shared ingestion layer and separate storage/indexing optimized for each signal:
Core idea
Use one front door for:
- Metrics
- Logs
- Traces
Then route them to the right backend stores and UIs.
Common setup
1. OpenTelemetry as the standard
Use OpenTelemetry (OTel) for instrumentation and collection across services:
- SDKs in your apps
- OTel Collector as the central pipeline
- OTLP as the ingest protocol
This gives you one consistent way to ship all three signal types.
2. Central collector
Run an OpenTelemetry Collector tier that:
- Receives metrics, logs, traces
- Enriches with metadata
- Filters/samples if needed
- Exports to storage backends
You can deploy it as:
- Agent on each node
- Gateway/central collectors
- Or both
Storage options
You usually do not want one single database for everything unless you’re intentionally accepting tradeoffs.
Metrics
Good backends:
- Prometheus
- Grafana Mimir
- VictoriaMetrics
- Thanos
Logs
Good backends:
- Loki
- Elasticsearch / OpenSearch
- ClickHouse
Traces
Good backends:
- Tempo
- Jaeger
- Grafana Tempo is common for scale and cost efficiency
“One place” for users
For the UI, many teams use:
- Grafana as the single pane of glass
- Data sources wired to metrics/logs/traces backends
- Correlation between signals using trace IDs, exemplars, and metadata
Recommended architecture
A practical internal platform stack:
- Apps instrumented with OpenTelemetry
- OTel Collector as the unified ingest layer
- Mimir or Prometheus for metrics
- Loki for logs
- Tempo for traces
- Grafana as the unified UI
This is probably the most common “one place for metrics, logs, and traces” setup.
If you want true single-backend simplicity
You can store everything in:
- ClickHouse
- or another analytics-oriented datastore
Pros:
- One system to manage
- Unified querying
Cons:
- More custom engineering
- Harder to match best-in-class behavior for each signal
- Usually more work for retention, indexing, and high-cardinality metrics
Recommendation
If you want a platform that is:
- fast to build
- open standards-based
- scalable
- not too custom
Use:
- OpenTelemetry
- OTel Collector
- Grafana
- Mimir + Loki + Tempo
If you want, I can also sketch:
- a reference architecture diagram, or
- a minimal MVP stack you can deploy first.