Grafana Cloud integration: connect Grafana Cloud to Polylane
Connect Grafana Cloud dashboards, datasources and alerts to Polylane with a service account. Query panel data to investigate changes behind firing alerts.
Get started for freeWhat Polylane does with Grafana Cloud.
Alerting state at a glance
Agents check which Grafana-managed alerts are firing and which rules sit in error or NoData, so a silently broken rule surfaces before it hides a real issue.
Your datasources mid-investigation
Agents run PromQL, LogQL, and TraceQL through Grafana's query proxy against the same datasources your dashboards use, and every finding is cited back to the query behind it.
Dashboards as institutional knowledge
Agents read the panels your team already trusts, reuse their queries, and interpret what the numbers mean for the issue at hand.
Context left on the charts
Agents annotate deploys, issue windows, and fixes onto your Grafana charts, so the next person looking at a spike sees what happened.
How to set up Grafana Cloud
- Find the Grafana Cloud stack URL, such as https://yourstack.grafana.net.
- Open Administration → Users and access → Service accounts and create an Editor service account with a token.
- Paste the stack URL and token into Polylane. If a free-tier stack has hibernated, open it in your browser and retry validation.
Permissions and access
Editor access supports dashboard reads, datasource queries, annotations and alert subscription. It is broader than a Viewer/read-only credential. The token is encrypted before storage and is not shown to the investigation agent.
Discovery, refresh and the connected view
Polylane provisions a webhook contact point and a catch-all notification-policy route that continues to your existing routes. Hourly reconciliation maintains that route. Agents query datasources using PromQL, LogQL, TraceQL or the datasource’s native syntax through Grafana’s proxy, and can read or create annotations for incident windows.
Disconnect and revoke access
Disconnect Grafana in Polylane to remove its contact point and notification-policy route, then revoke the service account token. If Terraform manages the policy tree, remove the Polylane route there too; while connected, include it as the first policy with continue enabled to avoid reconciliation drift.
Tools for the investigation.
What Polylane can do with Grafana Cloud while it investigates. Every call is recorded in the transcript.
-
grafanaApiCall any Grafana HTTP API endpoint that lacks a dedicated tool -
grafanaDashboardsSearch Grafana dashboards, read their panel definitions, and list folders -
grafanaDatasourcesList Grafana datasources and check their health -
grafanaQueryRun a datasource query (PromQL, LogQL, and more) through Grafana -
grafanaAlertRulesRead Grafana alert rules, their live state, and firing alerts -
grafanaAnnotationsRead or create Grafana annotations to mark events on charts
Grafana Cloud setup and troubleshooting
Common questions.
How do I connect Grafana Cloud to Polylane?
Find the Grafana Cloud stack URL, such as https://yourstack.grafana.net. Open Administration → Users and access → Service accounts and create an Editor service account with a token. Paste the stack URL and token into Polylane. If a free-tier stack has hibernated, open it in your browser and retry validation.
What can Polylane read from Grafana Cloud?
Polylane provisions a webhook contact point and a catch-all notification-policy route that continues to your existing routes. Hourly reconciliation maintains that route. Agents query datasources using PromQL, LogQL, TraceQL or the datasource’s native syntax through Grafana’s proxy, and can read or create annotations for incident windows.