監控複雜系統需要清晰的指標視覺化。此技能可幫助您建立生產級別的 Grafana 儀表板,為基礎設施和應用程式效能提供可操作的洞察。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「grafana-dashboards」。 Create a stat panel showing total active connections
預期結果:
Stat 面板配置,使用 Prometheus 查詢加總 active connection 指標,包含正常/警告/嚴重狀態的顏色閾值,並啟用自動重新整理
正在使用「grafana-dashboards」。 Build a heatmap for request latency distribution
預期結果:
熱圖面板,Y 軸顯示直方圖桶,X 軸顯示時間,顏色強度代表每個延遲桶的請求頻率
安全審計
安全Static analysis produced false positives by misinterpreting markdown code block delimiters (```) as shell execution and configuration examples as suspicious patterns. The skill contains only documentation with JSON, YAML, and HCL examples for Grafana dashboard configuration. No actual code execution, network access, or filesystem operations are present.
品質評分
你能建構什麼
DevOps 工程師建立監控堆疊
為新的 Kubernetes 叢集建立全面的儀表板,實作包含節點指標、Pod 狀態和資源使用率面板的基礎設施監控。
SRE 實作 SLO 追蹤
建立服務可靠性儀表板,可視化跨微服務的錯誤預算、可用性指標和延遲百分位數。
開發人員新增應用程式可觀測性
設計應用程式專屬的儀表板,顯示新功能的請求率、錯誤率、回應時間和業務 KPI。
試試這些提示
Create a Grafana dashboard JSON configuration for monitoring a REST API with panels for request rate, error rate, and response time percentiles.
Generate a complete infrastructure dashboard using the USE method. Include panels for CPU utilization, memory usage, disk I/O, and network traffic for a Kubernetes cluster.
Add alert conditions to a dashboard panel that triggers when error rate exceeds 5% for 5 minutes, with Slack notification configuration.
Generate Terraform configuration to provision Grafana dashboards from JSON files stored in a Git repository, including folder organization and automated updates.
最佳實務
- 階層式組織面板:關鍵指標放在頂部,趨勢放在中部,詳細資料放在底部
- 使用儀表板變數進行命名空間、服務和環境篩選,無需複製儀表板
- 根據指標關鍵性設定適當的重新整理間隔 - 生產環境 30 秒,容量規劃 5 分鐘
避免
- 避免儀表板過度擁擠 - 專注於可操作的指標,而非資料傾倒
- 不要對計數器使用未經過 rate() 或 increase() 函數處理的原始指標查詢
- 切勿在不了解基線行為和正常變異的情況下設定警示閾值