Meet DataBuff: AI-native OpenTelemetry APM
DataBuff (github.com/databufflabs/databuff) is an open-source AI-native OpenTelemetry APM β deploy with one Docker command.
In one line: ingest telemetry via OTel standards first, then let AI read traces, metrics, topology, and alerts β not a chat box bolted onto dashboards.
π OpenTelemetry APM foundation
- Native OTLP β traces, service metrics, topology, alerting
- Rich data model derived from traces (services, APIs, flows, component metrics)
- Three components: Ingest β Doris β Web, low ops overhead
π€ AI-native capabilities
- Multi-agent collaboration: AI brain + metrics / inspection experts
- Smart query: natural language over metrics, traces, topology, alerts
- Health inspection: threshold-free anomaly screening with evidence chains
- **Capability** β What it does - **In-platform AI chat** β Ask in the Web UI: βWhy is this trace slow?β or βInspect order-serviceβ - **MCP for external agents (this article)** β Cursor, Claude Code, OpenClaw call the same APM tools - **Official Skills** β Constrain query semantics and inspection flows β agents don't invent metrics
Screenshot: Ingest β Doris β Platform β one command to run
Screenshot: global topology β AI and MCP tools read the same live data
Screenshot: in-platform AI brain dispatches experts β external agents use the same backend via MCP
This article: DataBuff exposes platform capabilities via MCP + Skills to OpenClaw (and Feishu / DingTalk channels). Below: 5-minute setup for one-sentence whole-cluster inspection.
am alert: five tabs, or one sentence?
Alert fires: βCheckout is slow β anything wrong cluster-wide?β
Old way: APM dashboard β traces β topology β alert list β hand-written summary. 20β30 minutes per round.
Screenshot: multi-tab evidence stitching β agents can do it in one prompt
With OpenClaw: send one message in CLI, WebChat, or Feishu / DingTalk. The agent calls DataBuff MCP against real OTel data in Doris, follows official Skills, and returns an evidence-backed report β not hallucinated numbers.
β Without MCP
The model invents βerror rate 2.3%β β pure hallucination, not safe for incident channels.
β MCP + Skills
inspectService first β traces / topology for anomalies β Chinese or English report with evidence.
Screenshot: OpenClaw activity β Databuff-apm GetCurrentTimeRange / QueryServicesAll
MCP is the hands; Skills are the brain
DataBuff ships an agent integration pack (integrations/agent/). You need both layers for a real ops agent:
MCP = 11 APM tools (services, traces, metrics, alerts, inspection, charts)
Skills = query semantics + inspection workflow (when to inspect, time ranges, evidence chaining)
- **Layer** β Contents Β· Examples - **MCP tools** β Live data access Β· queryServicesAll, inspectService, queryTraceDetail - **Skills** β Behavior rules Β· skill.data.metrics, skill.inspection.health
External agents hit the same Spring beans as in-platform AI experts β not pasted APIs, real OTel data in Doris.
Screenshot: skill.data.metrics enabled on OpenClaw Skills page
-minute setup: MCP + Skills end-to-end
Prerequisite: DataBuff deployed; OpenClaw can reach the Web port.
Step 0 Β· Get the official integration pack β do not download Skills/MCP from third-party marketplaces:
git clone https://github.com/databufflabs/databuff.git cd databuff/integrations/agent/
Or browse integrations/agent/ on GitHub. Contains skills/ (2 official Skills) and mcp/ (client config examples).
Step 1 Β· Deploy DataBuff (if not installed):
curl -fsSL https://databuff.ai/databuff/ai-apm-install.sh | bash
Screenshot: one-command install, note Web URL and port
Step 2 Β· Configure MCP β copy mcp/openclaw-amc-config.example.json, set mcp.url to your DataBuff host:
{ "name": "databuff-apm", "description": "DataBuff APM MCP β metrics, traces, topology, alerts, inspection", "mcp": { "transport": "streamable-http", "url": "http://YOUR\_DATABUFF\_HOST:PORT/mcp" }, "skills": [ "skill.data.metrics", "skill.inspection.health" ] }
Replace YOUR_DATABUFF_HOST:PORT. MVP needs no Authorization header. MCP endpoint: /mcp (Streamable HTTP).
Step 3 Β· Install Skills β copy integrations/agent/skills/ to your client Skills path:
- **Client** β Skills path - **OpenClaw** β OpenClaw workspace skills/ (Control UI β Skills should list both) - **Cursor** β ~/.cursor/skills/ or project .cursor/skills/ - **Claude Code** β ~/.claude/skills/
# From databuff repo root (OpenClaw example β adjust target path) cp -r integrations/agent/skills/skill.data.metrics /skills/ cp -r integrations/agent/skills/skill.inspection.health /skills/
Each Skill is a directory with SKILL.md. Synced with deploy/common/skills/ β re-copy after updates.
- **skillId** β Purpose - **skill.data.metrics** β APM metrics, trace, alert query semantics (time ranges, which tool) - **skill.inspection.health** β Health inspection flow (inspect first, gather evidence, conclude)
Step 4 Β· Verify β after restarting OpenClaw Gateway:
- Control UI β Skills:
skill.data.metrics,skill.inspection.health - Control UI β Instances: Gateway online
- New chat β Activity:
Databuff-apmtools (e.g.QueryServicesAll)
Screenshot: Gateway and Control UI connected (127.0.0.1:18789)
Security: MVP has no separate MCP token β use on private network / VPN; add a gateway before public exposure.
Three prompts to validate the full path
β
βList services from the last hourβ β Skill parses time β getCurrentTimeRange β queryServicesAll
Screenshot: 7 services in the last hour (service-a / service-b / MySQL, etc.)
β‘
βInspect service-a healthβ β inspectService β queryMetricData / queryServiceAlarms
Screenshot: Activity 3 tools β InspectService / QueryMetricData / QueryServiceAlarms
β’
βChart service-a error rate for the past hourβ β queryMetricData + drawTrendCharts
Screenshot: 0% error rate trend β real data, not invented
Pass criteria: tool panel shows queryServicesAll / inspectService with JSON responses β not plain-text guesses.
vs in-platform AI and vs Cursor?
- **Scenario** β Path Β· Best for - **DataBuff Web UI** β AgentScope JAVA_BEAN + multi-expert Β· Day-to-day console troubleshooting - **OpenClaw / Feishu / DingTalk** β MCP + Skills Β· One-liner queries in alert channels - **Cursor / Claude Code** β Same MCP + Skills Β· Developers querying APM from the IDE
All three paths are independent. OpenClaw brings APM into your existing agent runtime β no extra browser tab for AI incidents.
Full config and FAQ: docs/manual/agent-integration.md and integrations/agent/README.md in the repo.
From guessing metrics to calling real APM
DataBuff opens APM to any agent runtime; OpenClaw / Feishu / DingTalk are just entry points β MCP for real data, Skills for semantics is the core.
β Wire up DataBuff agent integration in 5 minutes
github.com/databufflabs/databuff/integrations/agent
Try: βInspect service-a, then check if anything is wrong cluster-wide.β










Top comments (0)