get_active_alerts | Get the alerts currently firing in Grafana’s alertmanager, with labels, state and start time. | — |
get_dashboard | Get a Grafana dashboard by uid — by default a summary (panel titles, types and queries); set full_json=true for the complete dashboard model (large). | uid (string, required), full_json (boolean) |
get_trace | Get a full trace by id from a Tempo datasource in Grafana (spans, timings, attributes). | trace_id (string, required), datasource_uid (string) |
list_alert_rules | List Grafana-managed alert rule definitions, with uid, title, folder and paused state. | — |
list_datasources | List datasources configured in Grafana, with uid, name, type and default flag. | — |
query_loki | Run a LogQL query on a Loki datasource in Grafana over a time range (RFC3339; defaults to the last hour), returning up to limit log lines or metric samples. | query (string, required), end (string), limit (integer), start (string), datasource_uid (string) |
query_prometheus | Run a PromQL query on a Prometheus datasource in Grafana: instant query when no start is given, range query otherwise (RFC3339 timestamps; step e.g. ‘1m’, ’15s’). | query (string, required), end (string), step (string), start (string), datasource_uid (string) |
search_dashboards | Search Grafana dashboards by title (empty query lists all), returning uid, title, folder and URL. | limit (integer), query (string) |
search_traces | Search traces on a Tempo datasource in Grafana using a TraceQL query (e.g. ‘{resource.service.name=“api” && duration > 1s}’) over a time range (RFC3339; defaults to the last hour). | query (string, required), end (string), limit (integer), start (string), datasource_uid (string) |