Community编程与开发github.com

grafana/grafana-oss

配置 Grafana OSS — 通过 YAML 预置仪表盘、设置数据源(Prometheus / Loki / Tempo / Pyroscope)、编写带模板变量的仪表盘 JSON、构建面板查询、分配内置角色(Viewer / Editor / Admin / GrafanaAdmin)、生成服务账户令牌、编辑 grafana.ini 服务器配置、创建注释、通过预置安装插件,并使用健康检查 curl 验证每一步。

grafana-oss 是什么?

该技能为开发者提供了一套完整的 Grafana OSS 配置管理方案。它支持从 YAML 文件预置仪表盘,自动设置 Prometheus、Loki、Tempo、Pyroscope 等数据源,并编写包含模板变量的仪表盘 JSON 以及构建面板查询。同时,可以管理内置角色(如 Viewer、Editor、Admin、GrafanaAdmin),生成服务账户令牌,编辑 grafana.ini 中的 SMTP/OAuth 等服务器配置,通过 API 创建注释,并通过预置机制安装插件。每个步骤都通过 health-check curl 命令进行验证,确保配置正确。该技能适用于本地运行 Grafana OSS 的场景,即使开发者仅提及“设置 Prometheus 数据源”、“从 Git 预置仪表盘”、“创建服务账户”或“配置 OSS 的 SSO”而未明确说出“Grafana OSS”,也能智能响应。支持 Cursor、Claude Code 等使用技能文件的工具。

兼容平台~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 服务器配置、创建注释、通过预置安装插件,并使用健康检查 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".

相关技能