Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки