Index of every page on this site: llms.txt
All skills
axiomhq avatar

/axiom-build-dashboard

@5b11222 official
by Axiom, Inc.axiomhq/skills18 stars
2
Run it yourself

Designs and builds Axiom dashboards via API. Covers chart types, APL and metrics/MPL query patterns, SmartFilters, layout, and configuration options. Use when creating dashboards, migrating from Splunk, or configuring chart options.

Use this Skill: https://skilld.dev/gh/axiomhq/skills/axiom-build-dashboard

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencelayout-recipes.md

≈798 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Layout Recipes

Grid blueprints for common dashboard structures. The grid is 12 columns wide; dashboard-validate rejects entries past column 12. scripts/layout-pack packs ordered ids into the grid using per-type defaults — most recipes below are expressible as a layout-pack invocation.

These recipes place charts. They do not create collapsible sections. Pass --section to dashboard-assemble for a group that expands and collapses and stops its queries while collapsed. A Note header is only a label in the grid.

Default per-type sizes (from layout-pack): Statistic 3×3, TimeSeries 6×4, Heatmap 6×4, Pie 4×5, Table 6×5, LogStream 12×6, Note 12×2, MonitorList 6×4, SmartFilter 12×1.

Service Overview (oncall)

Stats row → trend row → breakdowns → evidence.

layout-pack \
  err-rate:Statistic p95:Statistic traffic:Statistic alerts:Statistic \
  traffic-ts:TimeSeries latency-ts:TimeSeries \
  top-routes:Table top-errors:Table \
  recent-errors:LogStream

Resulting grid:

y= 0  [err-rate 3] [p95 3] [traffic 3] [alerts 3]
y= 3  [traffic-ts  6      ] [latency-ts  6       ]
y= 7  [top-routes  6      ] [top-errors  6       ]
y=12  [recent-errors            12               ]

Service Overview with Filter Bar

Add a SmartFilter row at the top (full-width, h=1):

layout-pack \
  filters:SmartFilter \
  err-rate:Statistic p95:Statistic traffic:Statistic alerts:Statistic \
  …

SLO Tracking

Three SLO statistics across the top, two trend charts below, violations table at the bottom.

layout-pack \
  avail:4x3 latency-slo:4x3 budget:4x3 \
  avail-trend:TimeSeries burn-rate:TimeSeries \
  violations:Table

Statistic defaults to 3×3; override with id:4x3 to fit three across.

Incident Investigation

Filter bar → impact row → narrow-bin timeline → 4-way breakdown → tall LogStream.

layout-pack \
  filters:SmartFilter \
  err-count:Statistic affected:Statistic start:Statistic duration:Statistic \
  err-timeline:12x4 \
  by-route:Table by-message:Table \
  by-pod:Table by-customer:Table \
  raw-logs:12x10

Multi-Service Comparison

Filter bar → stacked-traffic full-width → error-rate full-width → per-service columns (each column is a Statistic + Table stack).

layout-pack \
  filters:SmartFilter \
  traffic-stacked:12x4 \
  errors-by-service:12x4 \
  api-stat:4x3 auth-stat:4x3 pay-stat:4x3 \
  api-table:4x5 auth-table:4x5 pay-table:4x5

Kubernetes Cluster Overview

Cluster-health stats → resource usage → pod issues → events.

layout-pack \
  nodes:Statistic pods:Statistic restarts:Statistic oomkills:Statistic \
  cpu-by-ns:TimeSeries mem-by-ns:TimeSeries \
  pods-restarts:Table pods-cpu:Table \
  events:LogStream

Best Practices

  • Keep adjacent panels at consistent heights within a row; mixed heights wrap correctly via layout-pack's row-major fill but read as messy.
  • One question per panel. Split rather than overload.
  • Notes as section headers (12x2) instead of large vertical gaps.
  • Rule of thumb panel order: critical-top-left, supporting-context middle, evidence (LogStream) bottom.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings5d3 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    The skill provides a comprehensive toolkit for designing, building, and managing Axiom dashboards via the official API. It adheres to security best practices for secret management and network operations. No malicious patterns such as prompt injection, obfuscation, or unauthorized data exfiltration were detected.

  • Socket5d

    1 alert: gptAnomaly

  • Snyk7d

    Risk: MEDIUM · 1 issue

Signed by skilld at 5b11222. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 hours ago.

Activeupdated 3 weeks ago
  • axiom
  • dashboards
  • apl
  • mpl
  • metrics
  • monitoring
  • visualization
  • queries
  • logs
  • timeseries

README badge

README badge for axiomhq/skills/axiom-build-dashboard

Builds and configures Axiom dashboards via API, covering APL and metrics/MPL queries, SmartFilters, chart types, and layout composition. Targets Axiom users designing new dashboards, migrating from Splunk or Grafana, or configuring chart options for observability and incident response.

Generated from the current SKILL.md.

Does this skill work with both metrics and events/logs datasets?
Yes. The skill covers two separate blueprints: APL for events/logs datasets and MPL for metrics datasets. Use `scripts/metrics/datasets` to check the dataset kind first.
Can I migrate dashboards from Splunk or Grafana?
Yes. The skill includes workflows for both: extract SPL and translate via spl-to-apl for Splunk, or project the canonical panel spec and translate PromQL for Grafana.
What happens if a requested panel can't be computed?
Replace it with a Note panel documenting the blocker. Substituting a different quantity is never acceptable, even with a disclaimer.
Do I need to include _time filters in dashboard chart queries?
No. Dashboard chart queries inherit the time range from the picker, so _time filters should be omitted. Only ad-hoc queries (Axiom Query tab, axiom-sre) need explicit `where _time between` clauses.
What tools do I use to build and deploy dashboards?
The skill provides scripts including `chart-add` (emit individual charts), `layout-pack` (compose layout), and `dashboard-assemble` (validate and emit the final dashboard JSON).

Generated from the current SKILL.md. These answers refresh after source changes.