# Building a Unified Observability Platform on GreptimeDB: A Reference Architecture

DevFeed: [Building a Unified Observability Platform on GreptimeDB: A Reference Architecture](<https://devfeed.tech/articles/building-a-unified-observability-platform-on-greptimedb-a-reference-architecture-65202.md>)

Original publisher: [Read original article](<https://blog.devops.dev/building-a-unified-observability-platform-on-greptimedb-a-reference-architecture-35c754365411?source=rss----33f8b2d9a328---4>)

Author: Greptime

Published: 2026-10-05T20:11:01Z

Content type: article

Language: en

Sources: [DevOps.dev](<https://devfeed.tech/sources/devops-dev.md>)

Topics: [observability pipelines](<https://devfeed.tech/topics/observability-pipelines.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [table-partitioning](<https://devfeed.tech/topics/table-partitioning.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [alerts](<https://devfeed.tech/tags/alerts.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [article](<https://devfeed.tech/tags/article.md>), [astronomy](<https://devfeed.tech/tags/astronomy.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [collectors](<https://devfeed.tech/tags/collectors.md>), [components](<https://devfeed.tech/tags/components.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [demo](<https://devfeed.tech/tags/demo.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [devops](<https://devfeed.tech/tags/devops.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [incident](<https://devfeed.tech/tags/incident.md>), [investigation](<https://devfeed.tech/tags/investigation.md>), [jaeger](<https://devfeed.tech/tags/jaeger.md>), [large](<https://devfeed.tech/tags/large.md>), [observability](<https://devfeed.tech/tags/observability.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [opentelemetry-demo](<https://devfeed.tech/tags/opentelemetry-demo.md>), [platform](<https://devfeed.tech/tags/platform.md>), [reference-architecture](<https://devfeed.tech/tags/reference-architecture.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

The architecture routes metrics, logs, and traces into one GreptimeDB while leaving collectors in place: dashboards and alerts use PromQL, and investigation and long-range analysis use SQL. The excerpt describes protocol endpoints, per-signal table and indexing choices, and three deployment tiers. Flow can maintain small aggregate tables for dashboards and alerts; frontend groups isolate query handling, while storage isolation through Read Replicas or Datanode groups is Enterprise-only. Object storage supports longer retention; Local WAL suits standalone and small clusters, while Remote WAL uses Kafka for faster recovery. Migration is described as dual-write, switch reads, then retire the old system. Compatibility has limits: Loki writes are supported but LogQL queries move to SQL; open-source Elasticsearch support covers bulk writes, not Query DSL. The article also reports better agent-diagnosis results on GreptimeDB, while cautioning that its comparison changed the full interface bundle and does not isolate the storage engine's contribution.

## Source excerpt

This article assumes you have already decided to put metrics, logs, and traces into one database. Why unify, and why now, is covered in our earlier post on the history of observability unification. This one covers what comes after that decision: which components to deploy, how data flows, which decisions are still yours to make, and what the topology looks like at three scales: standalone, small cluster, and large cluster. The architecture fits in one sentence: leave the collectors alone and point them at one GreptimeDB; dashboards and alerts go through PromQL, incident investigation and long-range analysis through SQL. The validation environment is the official OpenTelemetry Astronomy Shop demo: 14 services, SDKs in several languages, and a default backend of Jaeger, OpenSearch, and Prometheus. We replaced those three with a single GreptimeDB v1.2.0 standalone instance, plus a node_exporter and a Prometheus that only scrapes. The configuration, table schemas, query results, and incident records in this article come from that environment; the complete setup is in the greptimedb-observability-playground repository. Enterprise-only features are marked where they come up. Three workloads the platform has to carry Dashboards and alerts. Grafana panels refresh every few seconds and alert rules evaluate every minute, over the last few minutes to few hours of data. Many queries, each small, each latency-sensitive. Incident investigation. One investigation moves between metrics, logs, and traces: from an alert to the slow service, from the service to the slow call chain, from the call chain to the error logs and node resources of that time window. The queries are exploratory; nobody knows in advance how many there will be, and humans are no longer the only ones issuing them. In our Agent RCA Bench, one agent investigation averaged thirty to forty tool calls, with some approaching fifty. Long-range analysis. Capacity planning, weekly reports, cost attribution: scans over wee