Community编程与开发github.com

grafana/prometheus

Prometheus 与 Grafana Cloud Metrics 概览,涵盖 PromQL 查询语言、Metrics Drilldown、告警、录制规则及集成模式。适用于处理 Prometheus、编写 PromQL 查询、配置告警或讨论指标架构与最佳实践。

prometheus 是什么?

这是一个关于 Prometheus 与 Grafana Cloud Metrics 的全面技能,专为开发者与 AI 代理用户设计。它提供了 PromQL 查询语言的深入介绍,包括 Metrics Drilldown 功能、告警配置、录制规则以及常见的集成模式。该技能支持在多种主流 AI 开发工具(如 Claude Code、Cursor、Codex)中使用,帮助用户高效处理 Prometheus 相关任务。通过学习此技能中的 SKILL.md 文档,用户可以快速掌握从指标查询到告警管理的全流程实践,并遵循行业最佳实践来优化监控架构。该技能旨在让开发者更自信地运用 Prometheus 生态系统,提升可观测性能力。

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

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

prometheus 是做什么的?

Prometheus 与 Grafana Cloud Metrics 概览,涵盖 PromQL 查询语言、Metrics Drilldown、告警、录制规则及集成模式。适用于处理 Prometheus、编写 PromQL 查询、配置告警或讨论指标架构与最佳实践。

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/grafana-oss

Configure Grafana OSS — provisions dashboards from YAML, sets up data sources (Prometheus / Loki / Tempo / Pyroscope), writes dashboard JSON with template variables, builds panel queries, assigns built-in roles (Viewer / Editor / Admin / GrafanaAdmin), mints service-account tokens, edits grafana.ini server config, creates annotations, installs plugins via provisioning, and validates each step with a health-check curl. Use when building dashboards, configuring data sources, setting up provisioning YAML, picking a panel type, writing template variables, managing users and roles, configuring SMTP/OAuth in grafana.ini, creating annotations via API, troubleshooting why a provisioned dashboard isn't showing up, or running Grafana OSS locally — even when the user says "set up a Prometheus data source", "provision dashboards from git", "make a service account", or "configure SSO in OSS" without saying "Grafana OSS".

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/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".

相关技能