Agentic Service Discovery

Resources

G

Grafana

by Grafana Labs

Connect agents to Grafana to query dashboards, manage alerts, and interact with data sources.

MonitoringFree / PaidBearer tokenmonitoringdashboardsmetricsalertsobservabilityvisualization

How agents use Grafana

  • Annotate dashboards with deployment events for metric correlation
  • Query firing alert rules to assess system health and route incidents
  • Pull dashboard panels to include in automated status reports
  • Mark maintenance windows with range annotations
  • Query Prometheus or Loki data sources for specific metric values

Agent actions

Search DashboardsSearch for dashboards by title or tag

Inputs: query, tag, type, limit

Returns: dashboards, count

Get DashboardRetrieve a dashboard by UID

Inputs: uid

Returns: dashboard, title, url, panels

Get Alert RulesList configured Grafana alert rules

Inputs: datasourceUid, folderUid

Returns: rules, count

Get Firing AlertsGet currently firing or pending alert instances

Inputs: state

Returns: alerts, firingCount

Create AnnotationAdd a time-series annotation to Grafana dashboards

Inputs: text, tags, time, timeEnd, dashboardUid

Returns: annotationId, success

Query Data SourceExecute a query against a Grafana data source

Inputs: datasourceUid, queries, from, to

Returns: results, frames

Example workflows

1

Deployment annotation

Agent annotates Grafana dashboards when deployments occur for correlation with metrics

2

Alert triage

Agent detects firing Grafana alerts and routes them to the appropriate on-call team

About Grafana

Vendor
Grafana Labs
Pricing Always review details with the vendor
Free / PaidGrafana OSS is free. Grafana Cloud free tier: 10k metrics, 50GB logs. Pro from $0 usage-based.
Authentication
Bearer token
Rate limit Always review details with the vendor
600 requests / minute
Compatible nodes
AgentResourceInputOutput

Build an AI workflow with Grafana

Use the Agentic Planner to design, visualize, and connect Grafana with your other tools.

Open Agentic Planner

Related Monitoring tools