Community程式設計與開發github.com

grafana/grafana-oss

配置 Grafana OSS — 從 YAML 佈建儀表板、設定資料來源 (Prometheus / Loki / Tempo / Pyroscope)、撰寫含模板變數的儀表板 JSON、建立面板查詢、指派內建角色 (Viewer / Editor / Admin / GrafanaAdmin)、產生服務帳號權杖、編輯 grafana.ini 伺服器配置、建立註釋、透過佈建安裝外掛程式,並使用 health-check curl 驗證每個步驟。

grafana-oss 是什麼?

此技能提供全面的 Grafana OSS 配置能力,專為開發者與 AI 代理設計,可自動化從零開始建立 Grafana 實例所需的常見任務。支援佈建 YAML 儀表板、設定多種資料來源 (Prometheus、Loki、Tempo、Pyroscope),並透過模板變數與面板查詢產生動態儀表板 JSON。此外,還能管理使用者角色與服務帳號權杖、編輯 grafana.ini 伺服器配置 (如 SMTP、OAuth)、透過 API 建立註釋,以及透過佈建機制安裝外掛程式。每個操作步驟都會使用 curl 進行健康檢查驗證,確保配置正確。此技能適用於任何對話情境,包含當使用者提出「設定 Prometheus 資料來源」、「從 git 佈建儀表板」、「建立服務帳號」或「在 OSS 中配置 SSO」等要求時,即使未明確提及 Grafana OSS,也能正確回應。支援本地端執行 Grafana OSS,並針對儀表板未出現等常見問題提供除錯協助。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/grafana/skills/tree/main/skills/grafana-oss

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

grafana-oss 是做什麼的?

配置 Grafana OSS — 從 YAML 佈建儀表板、設定資料來源 (Prometheus / Loki / Tempo / Pyroscope)、撰寫含模板變數的儀表板 JSON、建立面板查詢、指派內建角色 (Viewer / Editor / Admin / GrafanaAdmin)、產生服務帳號權杖、編輯 grafana.ini 伺服器配置、建立註釋、透過佈建安裝外掛程式,並使用 health-check curl 驗證每個步驟。使用情境包括:建立儀表板、設定資料來源、準備佈建 YAML、選擇面板類型、撰寫模板變數、管理使用者與角色、在 grafana.ini 中配置 SMTP/OAuth、透過 API 建立註釋、疑難排解佈建儀表板未顯示的問題,或在本機執行 Grafana OSS — 即使使用者只說「設定一個 Prometheus 資料來源」、「從 git 佈建儀表板」、「建立服務帳號」或「在 OSS 中配置 SSO」,而未提到「Grafana OSS」,也能正確回應。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

grafana/dashboarding

Create, modify, and organise Grafana dashboards including panels, variables, transformations, and alerting. Use when the user asks to create a Grafana dashboard, add a panel, configure a time series or stat panel, add template variables, set up dashboard linking, use transformations, configure thresholds, build a dashboard for a service, or export dashboard JSON. Triggers on phrases like "create dashboard", "add panel", "time series panel", "Grafana dashboard JSON", "template variables", "dashboard variable", "panel transformation", "threshold", "stat panel", "table panel", "Grafana annotations", or "dashboard folder".

grafana/opentelemetry

OpenTelemetry with Grafana stack. Covers OTel SDK instrumentation for Go/Java/Python/Node.js/.NET, OTLP protocol and endpoint configuration, sending telemetry to Grafana Cloud via OTLP endpoint, Grafana Alloy as OTel collector, sampling strategies, Kubernetes OTel Operator, and migration from other observability tools. Use when instrumenting apps with OTel, configuring OTLP endpoints, setting up collectors, or migrating to OpenTelemetry.

grafana/prometheus

Prometheus and Grafana Cloud Metrics overview including PromQL query language, Metrics Drilldown, alerting, recording rules, and integration patterns. Use when working with Prometheus, writing PromQL queries, configuring alerting, or discussing metrics architecture and best practices.

grafana/promql

Write, validate, and optimise PromQL queries for Prometheus and Grafana Cloud Metrics. Use when the user asks to query metrics, write a PromQL expression, calculate rates, aggregate across labels, build histogram quantiles, create recording rules, debug query performance, or understand metric cardinality. Triggers on phrases like "PromQL", "Prometheus query", "write a metric query", "calculate rate", "histogram_quantile", "recording rule", "metric cardinality", "sum by", "rate vs irate", "absent()", or "query is slow".

相關技能