Dynatrace Dashboard Skill
Overview
Dynatrace dashboards are JSON documents stored in the Document Store containing
tiles (content/visualizations), layouts (grid positioning), and variables
(dynamic query parameters).
When to use: Creating, modifying, querying, or analyzing dashboards.
Dashboard JSON Structure
{
"name": "My Dashboard",
"type": "dashboard",
"content": {
"version": 21,
"variables": [],
"tiles": { "<id>": { "type": "data|markdown", ... } },
"layouts": { "<id>": { "x": 0, "y": 0, "w": 24, "h": 8 } }
}
}
- Tile IDs in
tiles must match IDs in layouts
- Grid is 24 units wide. Common widths: 24 (full), 12 (half), 6 (quarter)
- Two tile types:
markdown (text content) and data (DQL query + visualization)
Optional content properties: settings, refreshRate, annotations
Reading & Analyzing
Fetch full content with dtctl get dashboard <id> -o json --plain (describe returns metadata only), then inspect the JSON to discover its available properties. Carefully read references/analyzing.md before analyzing.
Create/Update Workflow (Mandatory Order)
Carefully follow the workflow described in references/create-update.md.
Key rules:
- Load domain skills BEFORE generating queries — do not invent DQL
- Validate ALL queries before adding to dashboard
- No time-range filters in queries unless explicitly requested by user
- Set
name before deploying
- Updating — ALWAYS download first:
dtctl get dashboard <id> -o json --plain > dashboard.json, modify, then deploy the downloaded file. Never reconstruct JSON from scratch or inject an id manually — both silently overwrite any UI edits the user made since last deployment.
- Deploy with
dtctl apply — validation runs automatically, and the local file is deleted on success.
Visualization Types
- Time-series (require
timeseries/makeTimeseries): lineChart, areaChart, barChart, bandChart
- Categorical (
summarize ... by:{field}): categoricalBarChart, pieChart, donutChart
- Single value/gauge (single numeric record):
singleValue, meterBar, gauge
- Tabular (any data shape):
table, raw, recordList
- Distribution/status:
histogram, honeycomb
- Maps:
choroplethMap, dotMap, connectionMap, bubbleMap
- Matrix:
heatmap, scatterplot
Required field types per visualization: references/tiles.md
Variables Quick Reference
{ "version": 2, "key": "Service", "type": "query", "visible": true,
"editable": true, "input": "smartscapeNodes SERVICE | fields name",
"multiple": false }
- Single-select:
filter service.name == $Service
- Multi-select:
filter in(service.name, array($Service))
- Types:
query (DQL-populated), csv (static list), text (free-form)
Full variable reference: references/variables.md
References
| File |
When to Load |
| create-update.md |
Creating/updating dashboards |
| tiles.md |
Tile types, visualization field requirements, settings |
| variables.md |
Variable types, replacement strategies, patterns |
| analyzing.md |
Reading dashboards, extracting queries, health assessment |
1---2name: dt-app-dashboards3description: Work with Dynatrace dashboards - create, modify, query, and analyze dashboard JSON including tiles, layouts, DQL queries, variables, and visualizations.4license: Apache-2.05metadata:6 source: https://skillmd.com/skills/om-scogo/dt-app-dashboards7---89# Dynatrace Dashboard Skill1011## Overview1213Dynatrace dashboards are JSON documents stored in the Document Store containing14tiles (content/visualizations), layouts (grid positioning), and variables15(dynamic query parameters).1617**When to use:** Creating, modifying, querying, or analyzing dashboards.1819## Dashboard JSON Structure2021```json22{23 "name": "My Dashboard",24 "type": "dashboard",25 "content": {26 "version": 21,27 "variables": [],28 "tiles": { "<id>": { "type": "data|markdown", ... } },29 "layouts": { "<id>": { "x": 0, "y": 0, "w": 24, "h": 8 } }30 }31}32```3334- Tile IDs in `tiles` must match IDs in `layouts`35- Grid is 24 units wide. Common widths: 24 (full), 12 (half), 6 (quarter)36- Two tile types: `markdown` (text content) and `data` (DQL query + visualization)3738**Optional content properties:** `settings`, `refreshRate`, `annotations`3940## Reading & Analyzing4142Fetch full content with `dtctl get dashboard <id> -o json --plain` (`describe` returns metadata only), then inspect the JSON to discover its available properties. Carefully read [references/analyzing.md](references/analyzing.md) before analyzing.4344## Create/Update Workflow (Mandatory Order)4546Carefully follow the workflow described in [references/create-update.md](references/create-update.md).4748**Key rules:**49- Load domain skills BEFORE generating queries — do not invent DQL50- Validate ALL queries before adding to dashboard51- No time-range filters in queries unless explicitly requested by user52- Set `name` before deploying53- **Updating — ALWAYS download first:** `dtctl get dashboard <id> -o json --plain > dashboard.json`, modify, then deploy the downloaded file. Never reconstruct JSON from scratch or inject an `id` manually — both silently overwrite any UI edits the user made since last deployment.54- **Deploy with `dtctl apply`** — validation runs automatically, and the local file is deleted on success.5556## Visualization Types5758- **Time-series** (require `timeseries`/`makeTimeseries`): `lineChart`, `areaChart`, `barChart`, `bandChart`59- **Categorical** (`summarize ... by:{field}`): `categoricalBarChart`, `pieChart`, `donutChart`60- **Single value/gauge** (single numeric record): `singleValue`, `meterBar`, `gauge`61- **Tabular** (any data shape): `table`, `raw`, `recordList`62- **Distribution/status**: `histogram`, `honeycomb`63- **Maps**: `choroplethMap`, `dotMap`, `connectionMap`, `bubbleMap`64- **Matrix**: `heatmap`, `scatterplot`6566Required field types per visualization: [references/tiles.md](references/tiles.md)6768## Variables Quick Reference6970```json71{ "version": 2, "key": "Service", "type": "query", "visible": true,72 "editable": true, "input": "smartscapeNodes SERVICE | fields name",73 "multiple": false }74```7576- **Single-select:** `filter service.name == $Service`77- **Multi-select:** `filter in(service.name, array($Service))`78- Types: `query` (DQL-populated), `csv` (static list), `text` (free-form)7980Full variable reference: [references/variables.md](references/variables.md)8182## References8384| File | When to Load |85|------|-------------|86| [create-update.md](references/create-update.md) | Creating/updating dashboards |87| [tiles.md](references/tiles.md) | Tile types, visualization field requirements, settings |88| [variables.md](references/variables.md) | Variable types, replacement strategies, patterns |89| [analyzing.md](references/analyzing.md) | Reading dashboards, extracting queries, health assessment |