1. The AI assistant #
A tool-using assistant, with your permissions.
What it does #
The ✨ button opens an assistant that queries your sources, summarizes alerts, creates dashboards and rules in natural language. It acts with the user's permissions (and multi-tenant scope) and every action is audited. From a panel, the ⋮ menu offers Analyse with AI.
| Tool | Use |
|---|---|
| list_datasources · search_metrics | find the right source and metrics |
| query_datasource | run a query and read the result |
| list_dashboards · create_dashboard | find or create a dashboard |
| list_alert_rules · list_active_alerts · create_alert_rule | analyse and write alerts |
| list_otel_services | discover OpenTelemetry services |
Configuration #
AI_ENABLED=true
AI_PROVIDER=anthropic # anthropic | openai | azure_openai | openai_compatible
AI_API_KEY=<key>
AI_MODEL=claude-opus-5-5
AI_MAX_STEPS=12
AI_ALLOWED_ROLE=Editor
# Local model (Ollama, vLLM…): OpenAI-compatible API
# AI_PROVIDER=openai_compatible
# AI_BASE_URL=http://ollama:11434/v1
# AI_MODEL=llama3.1Best practice : For sensitive data, a local model behind an OpenAI-compatible API keeps everything inside your IT. Restrict the assistant to a role (AI_ALLOWED_ROLE) and cap the number of steps (AI_MAX_STEPS) to control cost and duration.
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
AI and SRE agents with ClickStack: AI Notebooks, MCP server, ClickHouse Agents and governance
Investigating with AI in ClickStack: AI Notebooks, the ClickStack MCP server for Claude Code, Cur...
Grafana Assistant: AI at the service of observability
Discover Grafana Assistant, Grafana's AI assistant (Cloud, OSS and Enterprise). Learn how this la...
Discovering Observa: the self-hosted observability console
What Observa is, what it adds to Grafana OSS, its five-service architecture, its parity with Graf...
Securing Observa: authentication, roles and multi-tenancy
Configure access to Observa: local accounts, LDAP and Active Directory, OIDC, SAML, auth proxy, r...
Connecting sources and collecting telemetry for Observa
Declare data sources in Observa (UI or provisioning), handle authentication, PKI, mTLS and proxy,...
Dashboards, Explore and Drilldown in Observa
Build Grafana v2 dashboards in Observa: visualizations, variables, transformations, import from g...
Alerting in Observa: rules, notifications, built-in alerts, SLA and Sigma
Write alert rules in Prometheus format, route notifications in Alertmanager format, enable the 1,...
SLOs, on-call and incidents in Observa
Define SLOs in Observa (error budget, burn rate, multi-window alerts), organize on-call and escal...
Observa best practices
Best practices to run Observa in production: deployment, security, sources, dashboards, alerting,...