observability

Grafana Cloud

Connect your Grafana Cloud stack to let agents query dashboards, explore Prometheus metrics, search Loki logs, and investigate alerts. Agents can correlate observability data across your stack to diagnose issues faster.

Connect

Connect Grafana Cloud from the terminal. Pass --help for the flags Grafana Cloud accepts.

Terminal
polylane integration connect --type grafana

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Everything Polylane set up in Grafana Cloud is removed as well; nothing is left behind.

Terminal
polylane integration disconnect <id>

Tools

6

Operations agents can perform in threads.

grafanaApi
Call any Grafana HTTP API endpoint that lacks a dedicated tool
grafanaDashboards
Search Grafana dashboards, read their panel definitions, and list folders
grafanaDatasources
List Grafana datasources and check their health
grafanaQuery
Run a datasource query (PromQL, LogQL, and more) through Grafana
grafanaAlertRules
Read Grafana alert rules, their live state, and firing alerts
grafanaAnnotations
Read or create Grafana annotations to mark events on charts