Dynatrace × Metabase

How to build Dynatrace dashboards in Metabase

Dynatrace is an observability platform with APM, infrastructure monitoring, logs, and AI-assisted problem detection on the Grail data lakehouse. Metabase is where you turn those operational signals into shared, trustworthy dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Dynatrace MCP Server and loads a CSV into Metabase with the Metabase CLI, and a durable pipeline route that syncs Dynatrace rollups into a database so you can build dashboards anyone can read.

Heads up: Metabase connects to databases and warehouses — it does not ship a native Dynatrace connector, and a BI warehouse is the wrong home for raw telemetry. Sync aggregates, entities, and metadata — incidents, error groups, rollups, deploys — and leave the event firehose in Dynatrace.

How do you connect Dynatrace to Metabase?

Most teams combine both routes: use MCP and CLI uploads for a fast first pass, then move recurring reliability reporting to a warehouse-backed model.

1 · MCP + CLI route (AI-assisted)

Live data in, quick analysis out

Pair the Dynatrace MCP Server with the Metabase CLI. Use MCP for live lookups, write a scoped result to CSV, then load it into Metabase as a ready-to-query table and model.

Best for
  • Quick lookups such as "show me service response time and failure rate"
  • Loading a Dynatrace export into Metabase in seconds
  • Spot-checks and one-off analyses without a warehouse
Trade-offs
  • Great for exploration, not governed reliability reporting
  • Use read-only/scoped credentials wherever the MCP server supports them
  • CSV uploads are snapshots — refresh or move to the pipeline for history
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Sync Dynatrace rollups and metadata into a database or warehouse with a connector, custom pipeline, or API, then point Metabase at it.

Best for
  • Dynatrace reliability dashboards leaders depend on
  • Joining Dynatrace data with deploys, issues, support, or cost data
  • Long-run trends for service response time and failure rate and problem volume and mttr
Trade-offs
  • You own the refresh schedule and the rollup grain
  • Sync aggregates and entities — not the raw event firehose
  • Metric definitions must be consistent across services and teams

What can you analyze from Dynatrace data in Metabase?

  • Service response time and failure rate — built from service health rollups and the related problems, SLOs, monitored entities data your sync exposes.
  • Problem volume and MTTR — built from service health rollups and the related problems, SLOs, monitored entities data your sync exposes.
  • SLO compliance and error budget — built from service health rollups and the related problems, SLOs, monitored entities data your sync exposes.
  • Host and process utilization — built from service health rollups and the related problems, SLOs, monitored entities data your sync exposes.
  • Synthetic availability — built from service health rollups and the related problems, SLOs, monitored entities data your sync exposes.

Which Dynatrace dashboards should you build in Metabase?

For: SREs, service owners

Service health overview

The shared reliability view to build first.

  • Availability by service (table)
  • Error rate by service by week (line)
  • Latency p95 by service (line)
  • SLO compliance by service (bar)
For: SRE leads

Alert volume and noise

Whether monitors earn their pages.

  • Alerts fired per week by monitor (stacked bar)
  • Alert-to-incident conversion (number + trend)
  • Noisiest monitors (table)
  • Muted or silenced alerts (table)
For: Engineers

Error and log trends

Where exceptions and log anomalies cluster.

  • Error events by service by week (line)
  • Log volume by service (bar)
  • Top error signatures (table)
  • New signatures this week (table)
For: Leadership, SREs

SLO and error budget

Reliability against explicit targets.

  • Error budget remaining by service (bar)
  • Budget burn rate, trailing 28 days (line)
  • SLO breaches this quarter (table)
  • Compliance by service tier (bar)

How do you use the Dynatrace MCP Server with the Metabase CLI?

Pair the Dynatrace MCP Server with the Metabase CLI for fast, hands-on analysis. MCP is useful for scoped lookups and summarized exports; the Metabase CLI's upload command loads CSV data into Metabase and creates a ready-to-query table and model.

Example workflow

  • Ask the MCP server for a summarized slice of service health rollups for the services you care about.
  • Export the result as CSV, keeping stable IDs, services, environments, severities, and timestamps.
  • Run mb upload csv to load it into Metabase as a table and model, then build questions and dashboards on top.

Be honest about the limits

  • MCP lookups are excellent for exploration, not scheduled reporting.
  • A CSV upload is a snapshot; refresh it with mb upload replace or move to the pipeline for real history.
  • Periodic rollups (hourly or daily) are required for availability and error-rate trends.
  • mb upload csv needs an uploads database configured under Admin → Settings → Uploads.

How do you set up Dynatrace MCP and the Metabase CLI?

Dynatrace MCP Serverofficial

Transport
Hosted remote MCP gateway via Streamable HTTP
Auth
Dynatrace platform token (Bearer) or OAuth 2.0
Best for
Live scoped lookup and export

Metabase CLIofficial

Install
npm install -g @metabase/cli
Auth
mb auth login
Load data
mb upload csv --file data.csv
Requires
An uploads database (Admin → Settings → Uploads)
MCPExample MCP client config
{
  "mcpServers": {
    "dynatrace": {
      "url": "https://{your-environment}.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_PLATFORM_TOKEN"
      }
    }
  }
}

The remote gateway is GA. The open-source @dynatrace-oss/dynatrace-mcp-server npm package is in maintenance mode and not officially supported — use the gateway.

TerminalLoad a Dynatrace CSV with the Metabase CLI
# Install the Metabase CLI
npm install -g @metabase/cli

# Log in (opens your browser; requires Metabase v62+)
mb auth login --url https://your-metabase.example.com

# Load a service-health-rollups export — creates a table AND a model
mb upload csv --file dynatrace-service-health-rollups.csv --collection root

# Refresh that same table later from a new export
mb upload replace <table-id> --file dynatrace-service-health-rollups.csv

Can you generate a Dynatrace dashboard with AI?

Yes. Use the prompt below with any assistant that can run the Dynatrace MCP Server and the Metabase CLI. It works end to end: if Dynatrace tables already exist in Metabase it analyzes those; otherwise it pulls scoped, summarized data over MCP, loads it with mb upload csv, then builds the dashboard and caveats any metric that needs missing history.

Prompt for creating a Dynatrace Observability Overview dashboard
Create a polished Metabase dashboard for Dynatrace observability analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.

Goal: Help engineering and operations leaders understand service availability, error rates, alert quality, and SLO compliance from Dynatrace data.

Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for dynatrace tables and
  models). If durable Dynatrace data is already present — synced from a warehouse
  or uploaded earlier — use it and skip to Step 2.
- If nothing is there, pull a scoped, summarized export with the Dynatrace MCP Server:
  service health rollups, plus problems, SLOs, monitored entities.
  Prefer aggregated or rollup views over raw events. Write each result to a CSV,
  then load it with the Metabase CLI — run "mb upload csv --file <export>.csv" so
  each upload creates a table and a ready-to-query model. Use "mb upload replace
  <table-id> --file <export>.csv" to refresh an existing table instead of creating
  duplicates.

Step 2 — Inspect before querying:
Do not assume exact table or column names. Inspect available fields, services,
environments, timestamps, and whether rollups or history exist before creating
duration or trend cards.

Important:
- Build on whatever data is present; don't claim Metabase connects natively to
  Dynatrace — it reads a database or CLI-uploaded tables.
- Never try to load the raw event firehose into Metabase; use rollups, entity
  tables, and incident- or group-grain data.
- Only compute durations (MTTA, MTTR, time-to-resolve) when the required
  timestamps exist.
- Exclude test, staging, or muted objects from headline reliability cards, and
  segment by environment where the field exists.
- A single CSV is a point-in-time snapshot: only build trend cards if there is a
  usable date column or multiple periods have been uploaded.

Dashboard title: Dynatrace Observability Overview

Sections:
1. Executive summary: Availability last 30 days; Error rate; Alerts fired;
   SLO compliance; Services below target.
2. Service health: Availability and error rate by service by week.
3. Alerts: Alert volume by monitor; conversion to incidents; noisy monitors.
4. SLOs: Error budget remaining; burn rate; breaches by service.
5. Trends: Latency percentiles and traffic by service where synced.

Filters: Date range, Service, Environment, Severity, Team, Status.

Output: Build the dashboard if you have permission; otherwise provide the exact
questions, SQL, model definitions, and layout. Include caveats for any metric
that cannot be calculated from the available data.

How do you sync Dynatrace data into a database or warehouse?

For dashboards that need history and reliability, land Dynatrace rollups and metadata in a database first, then connect Metabase to that database.

Connector options

  • Managed ETL — use a connector when one covers the objects you need.
  • Custom pipeline — use the Dynatrace API (DQL) for control over rollup grain, fields, and refresh cadence.
  • MCP + CSV — use this for quick exploration and one-off slices.

No managed connector is verified for Dynatrace — script DQL queries against the Dynatrace API to export aggregates from Grail, and land problem and SLO metadata alongside the rollups.

Notes

  • Decide the rollup grain first (hourly or daily per service/environment) — it drives warehouse cost and every trend card.
  • Land raw entity tables first, then build clean Metabase models on top.
  • Normalize service, environment, metric, window-start, and aggregation fields.

How should you model Dynatrace data in Metabase?

Core tables

TableGrainKey columns
service_health_rollupsone row per service per hour or dayservice_name, environment, window_start, total_requests, successful_requests, p95_latency_ms
dynatrace_problemsone row per problemid, title, severity_level, impact_level, affected_entities, started_at, ended_at
dynatrace_slo_rollupsone row per SLO per dayslo_id, service_name, window_start, slo_target, compliance_pct, budget_remaining_pct

Modeling advice

  • Build a clean service_health_rollups model with common columns across tools, so multi-source dashboards don't fork definitions.
  • Separate entity tables (services, monitors, policies) from time-series rollups and event-grain tables.
  • Exclude test, staging, and muted objects from headline reliability metrics; keep environment as an explicit column.
  • Use stable IDs for service, team, and incident joins; display names change.

Which Dynatrace metrics should you track in Metabase?

MetricDefinitionNotes
Service availabilitySuccessful requests or minutes divided by total, per service.Define success once (status < 500, or probe-based).
Error rateError events divided by total requests per window.Use rollups; raw events don't belong in a warehouse.
Alert noise rateAlerts that led nowhere divided by all alerts fired.Review the noisiest monitors monthly.
SLO complianceActual reliability against the SLO target and error budget.Burn rate matters more than a point-in-time number.

What SQL powers Dynatrace dashboards in Metabase?

These assume a cleaned analytical model in a warehouse (PostgreSQL dialect). Adjust table and column names to match your pipeline.

Availability by service by weekPostgreSQL

From success/total rollups per service.

SELECT
  service_name,
  date_trunc('week', window_start) AS week,
  ROUND(
    100.0 * SUM(successful_requests) / NULLIF(SUM(total_requests), 0), 3
  ) AS availability_pct
FROM service_health_rollups
WHERE environment = 'production'
GROUP BY 1, 2
ORDER BY 1, 2;
Alert volume and conversion by monitorPostgreSQL

Which monitors page for real problems.

SELECT
  monitor_name,
  COUNT(*) AS alerts_fired,
  COUNT(*) FILTER (WHERE became_incident) AS incidents,
  ROUND(
    100.0 * COUNT(*) FILTER (WHERE became_incident)
    / NULLIF(COUNT(*), 0), 1
  ) AS conversion_rate
FROM alerts
WHERE fired_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY monitor_name
ORDER BY alerts_fired DESC
LIMIT 20;
SLO compliance and marginPostgreSQL

Actual reliability vs. the published target, trailing 28 days.

SELECT
  service_name,
  slo_target,
  ROUND(
    100.0 * SUM(successful_requests) / NULLIF(SUM(total_requests), 0), 3
  ) AS actual,
  ROUND(
    100.0 * SUM(successful_requests) / NULLIF(SUM(total_requests), 0), 3
  ) - slo_target AS margin
FROM service_health_rollups
WHERE window_start >= CURRENT_DATE - INTERVAL '28 days'
GROUP BY service_name, slo_target
ORDER BY margin ASC;

What are common mistakes when analyzing Dynatrace in Metabase?

Syncing the raw event firehose into the warehouse.→ Land rollups, entities, and incident- or group-grain tables. Raw telemetry belongs in Dynatrace; the warehouse is for trends and joins.
Averaging availability across services.→ A 99.99% service and a 97% service don't average into anything meaningful. Report per service against its own target.
Reporting latency as an average.→ Use p50/p95/p99 from pre-aggregated percentile rollups; means hide tail pain, and percentiles can't be re-averaged later.
Building dashboards from live MCP lookups only.→ MCP is useful for exploration; durable dashboards need a database-backed model with history.

Related analytics

Related dashboards

Related integrations

FAQ

Does Metabase connect natively to Dynatrace?
No. Metabase reads databases and warehouses. Sync Dynatrace rollups and metadata into a database first, or upload a CSV with the Metabase CLI, then build Metabase models and dashboards on top.
Should Metabase replace Dynatrace?
No — they answer different questions. Dynatrace is built for real-time triage and deep debugging. Metabase is where you build governed, shareable reporting on top of the same signals, and join them with deploys, issues, support, and business data.
How much telemetry should I sync into the warehouse?
As little as answers the question: hourly or daily rollups per service and environment, alert and monitor metadata, and SLO definitions. Keep raw metrics, logs, and traces in the observability stack and link out for drill-downs.
How is this different from the dashboards I already have?
Native dashboards are excellent for operators. Metabase adds governed definitions, org-wide sharing without per-seat operator licenses, and joins with business data — reliability next to revenue, incidents next to releases.