building-dashboards
하는 일
이 스킬은 특정 질문에 답하는 차트로 Axiom 대시보드를 만듭니다. Splunk나 Grafana에서 옮긴 대시보드를 포함해, 명확한 대시보드가 필요한 엔지니어와 분석가를 위한 스킬입니다.
사용하는 경우
- ✓팀이나 서비스를 위해 새 대시보드를 만들고 싶을 때.
- ✓Splunk나 Grafana에서 Axiom으로 대시보드를 옮기고 있을 때.
- ✓대시보드 패널에 맞는 차트 유형을 고르고 옵션을 설정해야 하는 경우.
스킬 링크
https://github.com/openclaw/clawhub/blob/main/.agents/skills/building-dashboards/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“체크아웃 서비스의 오류율과 느린 요청을 보여 주는 Axiom 대시보드를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 먼저 대시보드가 누구를 위한 것인지, 어떤 결정을 돕는지 묻습니다. Axiom의 데이터 필드를 확인하고, 각 질문에 맞는 차트를 고른 뒤, API로 대시보드를 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Building Dashboards
Philosophy
- Decisions first. Every panel answers a question that leads to an action.
- Overview → drilldown → evidence. Start broad, narrow on click/filter, end with raw logs.
- Rates and percentiles over averages. Averages hide problems; p95/p99 expose them.
- Simple beats dense. One question per panel. No chart junk.
- Validate with data. Never guess fields—discover schema first.
- Compute what's asked, or defer. If a panel can't be computed, replace it with a
Notedocumenting the blocker. Never substitute a different quantity, even disclosed. See Compute or Defer.
Entry Points
| Starting from | Workflow |
|---|---|
| Vague description | Intake → check dataset kind → design blueprint (APL or MPL) → queries per panel → deploy |
| Template | Pick template → customize dataset/service/env → deploy |
| Splunk dashboard | Extract SPL → translate via spl-to-apl → map to chart types → deploy |
| Grafana dashboard | Project canonical panel spec (expr, legendFormat, unit, title, description) → translate PromQL → map chart types → deploy. See reference/grafana-migration.md. |
| Exploration | Use axiom-sre to discover schema/signals → productize into panels |
Intake: What to Ask First
Audience & decision
- Oncall triage? (fast refresh, error-focused)
- Team health? (daily trends, SLO tracking)
- Exec reporting? (weekly summaries, high-level)
Scope
- Service, environment, region, cluster, endpoint?
- Single service or cross-service view?
Dataset kind. Run
scripts/metrics/datasets <deploy>and checkkind.otel:metrics:v1→ metrics dataset, follow the Metrics path.- anything else → events/logs dataset, follow the APL path.
Never run
getschemaon a metrics dataset. It returns 0 rows without error.APL path: discover fields with
['dataset'] | where _time between (ago(1h) .. now()) | getschema. Continue to steps 4–5.Metrics path:
scripts/metrics/metrics-spec <deploy> <dataset>— required before any MPL query.scripts/metrics/metrics-info <deploy> <dataset> metrics | tags | tags <tag> valuesfor discovery.- If discovery is empty, retry with
--start7 days ago (sparse metrics). find-metrics <value>searches tag values, not metric names — use it only with a known entity name.- Skip to the Metrics/MPL Blueprint.
Golden signals (APL path)
- Traffic: requests/sec, events/min
- Errors: error rate, 5xx count
- Latency: p50, p95, p99 duration
- Saturation: CPU, memory, queue depth, connections
Drilldown dimensions (APL path)
- What do users filter/group by? (service, route, status, pod, customer_id)
Dashboard Blueprint
Pick the blueprint matching the dataset kind.
APL Blueprint (events/logs datasets)
1. At-a-Glance (Statistic panels)
Single numbers that answer "is it broken right now?"
- Error rate (last 5m)
- p95 latency (last 5m)
- Request rate (last 5m)
- Active alerts (if applicable)
2. Trends (TimeSeries panels)
Time-based patterns that answer "what changed?"
- Traffic over time
- Error rate over time
- Latency percentiles over time
- Stacked by status/service for comparison
3. Breakdowns (Table/Pie panels)
Top-N analysis that answers "where should I look?"
- Top 10 failing routes
- Top 10 error messages
- Worst pods by error rate
- Request distribution by status
4. Evidence (LogStream + SmartFilter)
Raw events that answer "what exactly happened?"
- LogStream filtered to errors
- SmartFilter for service/env/route
- Key fields projected for readability
Metrics/MPL Blueprint (metrics datasets)
Use align to $__interval using … for bucketing — $__interval is supplied by the dashboard runtime. Hard-coded windows over- or under-resolve. Validate every pipeline with scripts/metrics/mpl-validate-chart; both it and chart-add --mpl reject inline time ranges ([1h..]).
Exception: for sparse metrics where $__interval rounds to empty buckets, a fixed wider window (e.g. 1h) is acceptable; document why on the chart.
1. At-a-Glance (Statistic panels)
Current values — "what's the state right now?"
- Use
group using avg(gauges) orgroup using last(counters). - Read the metric's
unitviametrics-info … metrics <m> infoand pass it to `chart-a
자주 묻는 질문
Splunk나 Grafana 대시보드를 변환할 수 있나요?
예. Splunk 검색과 Grafana 패널을 Axiom 쿼리로 바꾸는 단계가 있습니다.
왜 평균보다 백분위수를 선호하나요?
평균은 문제를 가릴 수 있지만, p95나 p99 같은 백분위수는 느린 이상치를 보여 주기 때문입니다.
패널을 계산할 수 없으면 어떻게 되나요?
다른 숫자를 보여 주는 대신, 막힌 이유를 설명하는 메모로 그 패널을 대체합니다.
상세 정보
작성자의 원본 설명
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.
repo: openclaw/clawhub
인기도
- GitHub 스타
- 9.5k
- 순위
- #12228
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
axiom-alerting
9.5k에이전트가 Axiom API로 Axiom 모니터와 알림 경로를 만들고 관리하며, 알림이 기대대로 작동하는지 확인하도록 돕습니다.
axiom-sre
9.5k에이전트가 운영 장애와 버그를 단계별로 조사하도록 돕습니다. 결론을 내리기 전에 각 추측을 Axiom 로그로 검증합니다.
controlling-costs
9.5k에이전트가 Axiom에서 쓰이지 않는 데이터를 찾고, 로깅 비용을 추적하고 줄이는 대시보드와 모니터를 만들도록 돕습니다.
convex-acquire-domain
9.5kConvex 앱의 도메인을 찾아 Convex를 통해 구매하고 앱에 연결합니다. 이름을 고르고 승인한 뒤에만 진행합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.