building-dashboards
ما الذي تفعله
تبني هذه المهارة لوحات في Axiom، وهي أداة للسجلات والمراقبة، بمخططات تجيب عن أسئلة محددة. وهي مخصصة للمهندسين والمحللين الذين يحتاجون إلى لوحات واضحة، بما في ذلك اللوحات المنقولة من Splunk أو Grafana.
متى تستخدمها
- ✓عندما تريد بناء لوحة جديدة لفريق أو لخدمة.
- ✓عندما تنقل لوحة من Splunk أو Grafana إلى Axiom.
- ✓عندما تحتاج إلى اختيار أنواع المخططات وضبط خيارات لوحة.
رابط المهارة
https://github.com/openclaw/clawhub/blob/main/.agents/skills/building-dashboards/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابنِ لوحة Axiom لخدمة الدفع لدينا، تعرض معدل الأخطاء والطلبات البطيئة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تبدأ المهارة بسؤالك عن الجهة التي ستستخدم اللوحة وما القرارات التي تدعمها. ثم تتحقق من حقول البيانات في 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
axiom-alerting
9.5kيساعد وكيلك على إنشاء مراقبات Axiom ومسارات الإشعارات وإدارتها عبر Axiom API، والتحقق من أن التنبيهات تعمل كما هو متوقع.
axiom-sre
9.5kيساعد وكيلك على التحقيق في الحوادث والأخطاء الإنتاجية خطوة بخطوة، فيختبر كل تخمين مقابل سجلات Axiom قبل استخلاص أي نتيجة.
controlling-costs
9.5kيساعد وكيلك على العثور على بيانات غير مستخدمة في Axiom، وبناء لوحات ومراقبات تتابع تكاليف الاستيعاب وتخفضها.
convex-acquire-domain
9.5kيجد نطاقًا لتطبيق Convex الخاص بك ويشتريه عبر Convex ثم يربطه بالتطبيق، بعد أن تختار الاسم وتوافق عليه صراحة.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.