Langsung ke konten
Skillpedia
Analisis & spreadsheet9.5k Β· #12228

building-dashboards

Fungsinya

Skill ini membangun dasbor di Axiom, alat logging dan pemantauan, dengan grafik yang menjawab pertanyaan tertentu. Ditujukan untuk engineer dan analis yang membutuhkan dasbor yang jelas, termasuk yang dipindahkan dari Splunk atau Grafana.

Kapan dipakai

  • βœ“Saat Anda ingin dasbor baru dibuat untuk sebuah tim atau layanan.
  • βœ“Saat Anda memindahkan dasbor dari Splunk atau Grafana ke Axiom.
  • βœ“Saat Anda perlu memilih jenis grafik dan mengatur opsi untuk panel dasbor.

Link skill

https://github.com/openclaw/clawhub/blob/main/.agents/skills/building-dashboards/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/openclaw/clawhub/blob/main/.agents/skills/building-dashboards/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat dasbor Axiom untuk layanan checkout kami yang menampilkan tingkat error dan permintaan yang lambat.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill dimulai dengan menanyakan untuk siapa dasbor itu dan keputusan apa yang didukungnya. Skill memeriksa field data di Axiom, memilih grafik yang sesuai untuk setiap pertanyaan, lalu membangun dasbor melalui API.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Building Dashboards

Philosophy

  1. Decisions first. Every panel answers a question that leads to an action.
  2. Overview β†’ drilldown β†’ evidence. Start broad, narrow on click/filter, end with raw logs.
  3. Rates and percentiles over averages. Averages hide problems; p95/p99 expose them.
  4. Simple beats dense. One question per panel. No chart junk.
  5. Validate with data. Never guess fieldsβ€”discover schema first.
  6. Compute what's asked, or defer. If a panel can't be computed, replace it with a Note documenting 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

  1. Audience & decision

    • Oncall triage? (fast refresh, error-focused)
    • Team health? (daily trends, SLO tracking)
    • Exec reporting? (weekly summaries, high-level)
  2. Scope

    • Service, environment, region, cluster, endpoint?
    • Single service or cross-service view?
  3. Dataset kind. Run scripts/metrics/datasets <deploy> and check kind.

    • otel:metrics:v1 β†’ metrics dataset, follow the Metrics path.
    • anything else β†’ events/logs dataset, follow the APL path.

    Never run getschema on 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> values for discovery.
    • If discovery is empty, retry with --start 7 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.
  4. 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
  5. 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) or group using last (counters).
  • Read the metric's unit via metrics-info … metrics <m> info and pass it to `chart-a
Pertanyaan umum

Bisakah ia mengonversi dasbor Splunk atau Grafana?

Bisa. Ada langkah untuk menerjemahkan pencarian Splunk dan panel Grafana menjadi kueri Axiom.

Mengapa ia lebih memilih persentil daripada rata-rata?

Rata-rata dapat menyembunyikan masalah, sedangkan persentil seperti p95 dan p99 menunjukkan outlier yang lambat.

Apa yang terjadi jika sebuah panel tidak dapat dihitung?

Ia menggantinya dengan catatan yang menjelaskan hambatannya, alih-alih menampilkan angka lain.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
9.5k
Peringkat
#12228
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa