FruxonDocs

Grafana

Grafana observability platform integration for dashboards, data sources, alert rules, and annotations

The Grafana integration lets your agents search dashboards, query data sources, manage alert rules, and work with folders and annotations.

Prerequisites

You need:

  • Grafana Service Account Token — Create one in your Grafana instance under Administration → Service Accounts.
  • Base URL — The URL of your Grafana instance (e.g., https://your-org.grafana.net).

Setup

  1. Open your agent in Agent Studio
  2. In the Integrations panel, click Add Integration Config
  3. Select Grafana from the integration list
  4. Give the config a display name (e.g., "Grafana - Monitoring")
  5. Enter your Base URL
  6. Paste your Service Account Token
  7. Save the agent revision

Using in Your Agent

  1. In an Agent Step, attach Grafana tools from the tools panel
  2. The agent uses your integration config for all Grafana API calls
  3. Tools are referenced as grafana.search_dashboards, grafana.list_alert_rules, etc.

Available Tools

ToolDescriptionAction Type
search_dashboardsSearch dashboardsReadOnly
get_dashboardGet a specific dashboardReadOnly
list_datasourcesList data sourcesReadOnly
get_datasourceGet a specific data sourceReadOnly
list_alert_rulesList alert rulesReadOnly
get_alert_ruleGet a specific alert ruleReadOnly
list_foldersList foldersReadOnly
get_folderGet a specific folderReadOnly
list_annotationsList annotationsReadOnly
create_annotationCreate an annotationReversible

On this page