Want to see how GreptimeDB handles real observability data without spinning up a local stack first? Check out our Live Demo, continuously fed with metrics, logs, and traces from the OpenTelemetry Demo.
Here is a quick walkthrough of the UI so you can explore all three telemetry signals and see how they fit together under the hood.
One Engine for Metrics, Logs, and Traces
Observability data often ends up split across separate stores, forcing you to bounce between tools mid-incident. GreptimeDB takes a different approach: one columnar engine handles metrics, logs, and traces natively.
Head over to Explore on the left sidebar and you will see Metrics, Logs, and Traces side by side. This isn't three separate backends stitched onto a single UI—all three signals live in the same GreptimeDB instance.
Metrics: Drill Down From Overview to Anomaly Windows
In Metrics, you can browse and filter series, click into a series to inspect its breakdown, and narrow the time range to focus on an anomaly. Within the same exploration flow, you can inspect both application metrics and node_* host metrics coming from the same live stream.

Logs: Spot Patterns First, Then Read the Lines
When investigating logs, it usually helps to get the shape of the traffic before diving into individual lines. In Logs, you can check how labels like service name and severity are distributed over a time window, then click into a group to read the underlying log entries.

Traces: Start With RED & Errors, Then Follow the trace_id
In Traces, you can start with RED metrics or filter for errors and slow requests, open a trace to inspect the waterfall, and jump to related logs using the same trace_id when needed. Each span is stored as a row in a table, stitched into a trace via trace_id.

Every Signal Is a Table—Not a Monolithic Wide Table
Tags, Timestamps, and Fields
GreptimeDB models telemetry data as tables where every column has a clear semantic role: Tag, Timestamp, or Field.
Open Table Query and run:
DESC opentelemetry_logs;In the output, Semantic Type shows whether each column is a TAG, TIMESTAMP, or FIELD.
Tailored Schemas and Table Options
Unifying signals does not mean cramming everything into one giant wide table. Different tables can have their own schemas, indexes, and TTL policies.
You can inspect table definitions directly in Table Query:
SHOW CREATE TABLE opentelemetry_logs;
Querying: SQL, PromQL, and Cross-Signal Joins
Because all signals live in one engine, you can query them with SQL, use PromQL for metrics, and even combine them via TQL.
1. Cross-Signal Joins in SQL
When your instrumentation captures a shared identifier like trace_id, you can join across signals right in SQL instead of correlating them by hand across separate tools.
Try this directly in Table Query on the Live Demo:
-- Last 30 minutes: server spans with errors, joined with logs sharing the same trace_id
SELECT
t."timestamp" AS span_time,
t.service_name,
t.span_name,
t.trace_id,
l."timestamp" AS log_time,
l.severity_text,
l.body
FROM opentelemetry_traces t
JOIN opentelemetry_logs l
ON l.trace_id = t.trace_id
WHERE t.span_kind = 'SPAN_KIND_SERVER'
AND t.span_status_code = 'STATUS_CODE_ERROR'
AND t."timestamp" > now() - INTERVAL '30 minutes'
AND l."timestamp" > NOW() - INTERVAL '40 minutes'
ORDER BY t."timestamp" DESC, l."timestamp" DESC
LIMIT 50;
2. Filtering and Aggregation in SQL
You can also run standard analytical aggregations over telemetry tables—for example, computing request counts, error counts, and P95 latency in a single query:
SELECT
service_name,
count(*) AS requests,
sum(CASE WHEN span_status_code = 'STATUS_CODE_ERROR' THEN 1 ELSE 0 END) AS errors,
approx_percentile_cont(0.95) WITHIN GROUP (ORDER BY duration_nano) / 1e6 AS p95_ms
FROM opentelemetry_traces
WHERE `timestamp` > now() - INTERVAL 15 MINUTE
AND span_kind = 'SPAN_KIND_SERVER'
AND `resource_attributes.service.namespace` = 'opentelemetry-demo'
GROUP BY service_name
ORDER BY requests DESC;
3. PromQL
Prefer PromQL for metrics? Switch to Metrics Query and run:
100 * (1 - avg by (instance) (rate(node_cpu_seconds_total{job="node",mode="idle"}[5m])))
4. TQL
When you want to treat PromQL output as tabular data for further SQL analysis or post-processing, use TQL inside Table Query:
TQL EVAL (now() - INTERVAL 30 MINUTE, now(), '1m')
100 * (1 - avg by (instance) (rate(node_cpu_seconds_total{job="node",mode="idle"}[5m])));
Querying With an Agent
You can also connect an AI agent using the GreptimeDB MCP Server, letting it call SQL and related tools via MCP to inspect metrics, logs, and traces. Copy the whole prompt below and paste it into your AI client; it will set up the demo MCP for you:
Help me configure the GreptimeDB demo MCP in my AI client using this mcpServers config:
{
"mcpServers": {
"greptimedb-demo": {
"command": "greptimedb-mcp-server",
"args": [
"--host",
"live.greptime.cloud",
"--database",
"public",
"--user",
"greptime_mcp",
"--password",
"mcpsession",
"--http-port",
"443",
"--http-protocol",
"https"
]
}
}
}
Setup notes:
- This MCP points at the GreptimeDB **demo** environment (public playground), not your own cluster. Its key is deliberately `greptimedb-demo` — keep that name so it cannot collide with another GreptimeDB MCP you already have.
- If it is not installed, run `pip install greptimedb-mcp-server` (Python 3.11+), then call `health_check` to verify the connection (the first call can take ~10s). If it fails to launch, point `command` at the absolute path of the binary — GUI clients do not inherit your shell PATH.
- Queries use MySQL (port 4002); dashboard tools use HTTP — on HTTPS, `--http-port 443 --http-protocol https`.
- SQL is MySQL dialect: backticked identifiers and `INTERVAL 15 MINUTE`; double quotes become strings.Once it is connected, ask the agent questions about the demo data in plain language:

Wrap-Up
Jump into the Live Demo and try these three things in order:
- One engine, three signals: Browse Metrics, Logs, and Traces together in Explore, all backed by the same GreptimeDB instance.
- One engine, distinct tables: Inspect Tag, Timestamp, and Field semantics, and see how each table can keep its own schema, indexes, and TTL.
- Flexible querying: Run cross-signal SQL joins, SQL aggregations, PromQL, and TQL.
If you want to hook this into your own agent workflow, check out the GreptimeDB MCP docs and take it for a spin.


