| Dimension | GreptimeDB | Grafana Loki |
|---|
| Indexing strategy | Full-text index + inverted index + secondary index | Label-based indexing only (no full-text) |
| Query language | SQL + PromQL (dual interface) | LogQL |
| Data types | Metrics + Logs + Traces in one database | Logs only (separate systems for metrics/traces) |
| Query performance | Sub-second with full-text search (40-80x on keyword queries) | Fast label queries, brute-force text search at scale |
| Log processing | Built-in Pipeline engine for parsing and transformation | Basic parsing with structured metadata |
| Storage format | Apache Parquet (columnar, compressed) | Custom chunks (compressed log streams) |
| Storage architecture | Compute-storage disaggregation, native object storage | Distributed with object storage backends |
| Ingestion protocols | SQL, gRPC, OTLP, Loki Push API, Elasticsearch Bulk API, HTTP | HTTP Push API, Promtail, Fluent Bit, Vector |
| OpenTelemetry | Native OTLP (all signals) | Native OTLP log ingestion supported; query model still label-index-based |
| License | Apache 2.0 | AGPL 3.0 |
| Operational complexity | Single system for all observability data | Requires Mimir + Tempo for complete observability |
Performance data from benchmark tests. Results vary by workload and configuration. See the full benchmark report.
Agent RCA Bench. In 504 end-to-end root cause investigations — six models, 14 incidents, model and prompt held fixed, the complete interface bundle as the variable — querying Prometheus, Loki, and Tempo through their native APIs produced 105 correct diagnoses out of 168, against 130 through GreptimeDB, at about 48% less input read. Storage, query language, and tool design change together, so the comparison does not isolate any one of them. Diagnosis accuracy was not a pre-specified endpoint and is reported as descriptive; the pre-specified endpoints and their separate correction families are in the report. Scoring uses no LLM judge. Greptime sponsors and maintains the benchmark, and the code and artifacts reproduce the published results byte for byte. See the full report and the writeup.