تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

rpe-grafana

بواسطة darkstards9

DevOps & Cloud
368التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط