greptimedb
The open-source observability database. One columnar engine for metrics, logs, and traces, on object storage.
What is greptimedb?
The open-source observability database. One columnar engine for metrics, logs, and traces, on object storage.
Overview of greptimedb
What it is
GreptimeDB is an open-source observability database. It uses a single columnar engine to handle metrics, logs, and traces, storing data on object storage. All signals share a common table model of tags, timestamp, and fields. When signals carry shared identifiers like service, host, or trace ID, users can correlate them in SQL without moving data between databases.
Key features
- Ingestion via OpenTelemetry (OTLP), Prometheus Remote Write, Loki Push, Elasticsearch Bulk, InfluxDB line protocol, and gRPC
- Query using SQL, PromQL, and Jaeger-compatible trace queries; supports MySQL and PostgreSQL wire protocols
- Primary storage on S3, GCS, Azure Blob, and S3-compatible endpoints, with memory and local-disk caches
- Built-in pipelines for log parsing and transformation at ingestion, retention policies, downsampling, continuous aggregation, explicit table partitioning, and inverted/skipping/fulltext indexes
- Disaggregated compute and storage: object storage holds data, while caches keep recent and frequently queried data close to compute
- Runs in standalone mode (single binary) or distributed mode with independently scalable Frontend, Datanode, Metasrv, and optional Flownode components
Use cases
- Replacing separate Prometheus, Loki, or Elasticsearch deployments with a single backend
- Handling high cardinality or long retention periods that exceed Prometheus capabilities without adopting Thanos or Mimir
- Overcoming Loki query performance limits as log volume grows
- Storing long-term telemetry on object storage without a separate analytics stack
- Querying observability data with SQL instead of domain-specific query languages
- Storing GenAI or agent telemetry alongside infrastructure signals
Getting started
shelldocker run -p 127.0.0.1:4000-4003:4000-4003 -v $(pwd)/greptimedb_data:/greptimedb_data --name greptime --rm greptime/greptimedb:latest standalone start --http-addr 0.0.0.0:4000 --grpc-bind-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003Dashboard: http://localhost:4000/dashboard
License and pricing
GreptimeDB is an open-core project. Its core is licensed under the Apache License 2.0. A small set of peripheral, enterprise-only features are gated behind the enterprise Cargo feature (not built by default) and are governed by the separate GreptimeDB Enterprise License. Pricing for the enterprise edition is not stated in the provided materials.
Based on the project's public README and repository metadata.