跳到正文
TakoAPI
返回技能列表

rpe-grafana

由 darkstards9 提供

DevOps & Cloud
368下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Read current values from Grafana dashboards without knowing the underlying queries.

描述

该技能的功能

Reads current values from Grafana dashboards by navigating to panels by name, without requiring knowledge of the underlying query language. Works with any datasource Grafana supports, including Prometheus, InfluxDB, and MySQL. A Viewer role on the Grafana instance is sufficient.

Lets you retrieve Grafana panel values without learning PromQL, SQL, or any datasource-specific query syntax.

何时使用

  • Check current CPU usage from a server monitoring dashboard
  • Look up today's sales totals shown on a business metrics panel
  • Retrieve sensor readings from an IoT dashboard
  • List all available dashboards in a Grafana instance
  • Get the latest error rate for a service by panel name

示例工作流

输入

User asks: What is the current memory usage shown on the Infrastructure dashboard?

智能体
  1. 1

    Call grafana_list_dashboards to find the dashboard UID for 'Infrastructure'

  2. 2

    Call grafana_list_panels with that UID to locate the memory usage panel and its ID

  3. 3

    Call grafana_query_panel with the dashboard UID and panel ID

  4. 4

    Parse the returned lastValue and unit fields

输出

Memory usage: 6.2 GB (of 16 GB), as of the last hour

前置要求

  • GRAFANA_URL environment variable (Grafana base URL)
  • GRAFANA_USER environment variable (username)
  • GRAFANA_PASSWORD environment variable (password or API key)
  • Grafana account with at least Viewer role

安装

clawhub install darkstards9/rpe-grafana

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接