Grafana
JSON →Access and manage Grafana resources, including dashboards, datasources, Prometheus, Loki, and alerting.
Tools · 39
- list_teams List all teams
- search_dashboards Search for dashboards
- get_dashboard_by_uid Get a dashboard by uid
- update_dashboard Update or create a new dashboard
- get_dashboard_panel_queries Get panel title, queries, datasource UID and type from a dashboard
- list_datasources List datasources
- get_datasource_by_uid Get a datasource by uid
- get_datasource_by_name Get a datasource by name
- query_prometheus Execute a query against a Prometheus datasource
- list_prometheus_metric_metadata List metric metadata
- list_prometheus_metric_names List available metric names
- list_prometheus_label_names List label names matching a selector
- list_prometheus_label_values List values for a specific label
- list_incidents List incidents in Grafana Incident
- create_incident Create an incident in Grafana Incident
- add_activity_to_incident Add an activity item to an incident in Grafana Incident
- resolve_incident Resolve an incident in Grafana Incident
- query_loki_logs Query and retrieve logs using LogQL (either log or metric queries)
- list_loki_label_names List all available label names in logs
- list_loki_label_values List values for a specific log label
- query_loki_stats Get statistics about log streams
- list_alert_rules List alert rules
- get_alert_rule_by_uid Get alert rule by UID
- list_oncall_schedules List schedules from Grafana OnCall
- get_oncall_shift Get details for a specific OnCall shift
- get_current_oncall_users Get users currently on-call for a specific schedule
- list_oncall_teams List teams from Grafana OnCall
- list_oncall_users List users from Grafana OnCall
- get_investigation Retrieve an existing Sift investigation by its UUID
- get_analysis Retrieve a specific analysis from a Sift investigation
- list_investigations Retrieve a list of Sift investigations with an optional limit
- find_error_pattern_logs Finds elevated error patterns in Loki logs.
- find_slow_requests Finds slow requests from the relevant tempo datasources.
- list_pyroscope_label_names List label names matching a selector
- list_pyroscope_label_values List label values matching a selector for a label name
- list_pyroscope_profile_types List available profile types
- fetch_pyroscope_profile Fetches a profile in DOT format for analysis
- query_questdb_sql QuestDB datasource: Executes arbitrary SQL and returns the results as an array of JSON objects, one per row.
- query_athena_sql Athena datasource: Executes arbitrary SQL and returns the results as an array of JSON objects, one per row.
Environment variables
GRAFANA_URLGRAFANA_API_KEY