Iván
作者:Iván更新日 2026-05-11grafana@clawhub_ivangdavila/grafana
監視・アラート設定生成

AlphaMoatによると、2026-09時点でGrafanaのダウンロード数は3,746、スター数は4で、AIスキル全体5,078件中2,847位、IT運用・セキュリティでは264件中176位です。

インストール数
103
ダウンロード数
3746
スター数
4
総合順位
#2,847
全体の上位 57% · IT運用・セキュリティの上位 67%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗10333584-
SkillHub ↗9937464—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

変数の補間、Prometheusのrateクエリ、パネルのしきい値、サーバー側のアラート評価、通知チャネル、ダッシュボードのインポート、データソースモード、変換順序を扱います。高カーディナリティや注釈のクエリは負荷を増やす場合があると説明しています。実際の動作はデータソースとGrafanaの設定によって異なるため、対象環境でクエリとアラート結果を確認してください。

資料公開日 2026-10-29

できること

  • 変数の補間やPrometheusメトリクスクエリの問題を調べる。
  • アラートの評価条件、保留状態、通知チャネル設定を確認する。
  • ダッシュボードのインポート、データソース認証、クエリ性能の問題を特定する。

使う場面

  • Grafanaパネルのデータ欠落や予期しない結果を調べるとき。
  • アラートがサーバー側で評価され、通知チャネルに接続されているか確認するとき。
  • ダッシュボードのインポートや高カーディナリティクエリの最適化前に、データソース設定を検証するとき。

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

このガイドを使い、Prometheusのrateクエリが適切な範囲ベクトルを使っているか確認してください。
アラート評価から通知配信までの確認リストを作ってください。

月次の推移

ダウンロード数3746
1772283238922026-03 · ダウンロード数 19182026-05 · ダウンロード数 24872026-06 · ダウンロード数 26522026-07 · ダウンロード数 29292026-08 · ダウンロード数 31362026-09 · ダウンロード数 374626-0326-09
スター数4
3452026-03 · スター数 42026-05 · スター数 42026-06 · スター数 42026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。 同名の別スキルがあるため、変更前のデータは現在ダウンロード数が最も多いこのスキルに帰属させています。

月ダウンロード数前月比スター数
2026-093746—4
2026-083136+7.1%4
2026-072929+10.4%4
2026-062652+6.6%4
2026-052487—4
2026-031918—4

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.0 KB・ClawHub v1.0.0
---
name: Grafana
description: Avoid common Grafana mistakes — query pitfalls, variable templating, alerting traps, and provisioning gotchas.
metadata: {"clawdbot":{"emoji":"📊","os":["linux","darwin","win32"]}}
---

## Variables and Templating
- Multi-value variable needs `$__all` in regex — or only first value used
- `${var:csv}` for comma-separated — `${var:pipe}` for pipe-separated in regex
- Variable in query: `$var` or `${var}` — different escaping per data source
すべて表示(全 58 行)
- `$__interval` auto-adjusts to time range — use for aggregation window
- Chained variables: child depends on parent — set "Refresh" to "On time range change"

## Prometheus Queries
- `rate()` needs range vector — `rate(requests_total[5m])` not `rate(requests_total)`
- `rate()` for counters, `deriv()` for gauges — rate handles counter resets
- `$__rate_interval` over hardcoded — adapts to scrape interval and dashboard range
- Labels in legend: `{{label}}` — multiple: `{{instance}} - {{job}}`
- Regex filter: `metric{label=~"val1|val2"}` — `!~` for negative match

## Panel Configuration
- "No data" vs "null" are different — configure in display options
- Thresholds work on last value — not all values in range
- Min/max must match your data range — auto-scaling can hide anomalies
- Time series for trends, stat for current value — choose visualization wisely

## Alerting
- Alert evaluates on server — not browser, query must work without variables
- Variables not supported in alerts — hardcode values or use templates
- Multiple conditions: AND is default — configure for OR if needed
- Alert state "Pending" before "Firing" — for duration, prevents flapping
- Notification channel must be configured — alert without channel = no notification

## Dashboard Provisioning
- JSON export includes data source UID — will fail if different on import
- Use data source variables — `${DS_PROMETHEUS}` substituted at runtime
- Provisioned dashboards read-only by default — `allowEditing: true` in provisioning
- Folder must exist before dashboard provisioning — or import fails silently

## Data Sources
- "Server" mode proxies through Grafana — hides credentials from browser
- "Browser" mode direct from browser — faster but exposes URL/auth
- Test connection catches most issues — but not query-specific problems
- TLS skip verify for self-signed — but fix proper certs for production

## Transformations
- Order matters — transformations apply in sequence
- Outer join for combining queries — match on time or label
- Reduce for aggregating time series — last, mean, max, etc.
- Add field from calculation — combine metrics client-side

## Common Mistakes
- Time range selector affects variable queries — unexpected results with "All time"
- Dashboard saved but datasource not — works locally, breaks on import
- Alert rule in dashboard vs Grafana alerting — different systems, don't mix
- Panel queries run on every refresh — high-cardinality queries slow dashboard
- Annotation queries add DB load — use sparingly on busy dashboards

IT運用・セキュリティの人気スキル

Ivánのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。