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.

連接

從終端機連接Grafana Cloud。傳入--help可查看Grafana Cloud接受的旗標。

Terminal
polylane integration connect --type grafana

中斷連接

中斷連接會停止所有同步與檢查,並刪除Polylane持有的憑證。 Polylane在Grafana Cloud中建立的一切也會一併移除;不會留下任何東西。

Terminal
polylane integration disconnect <id>

工具

6

代理可以在對話串中執行的操作。

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