What it does
An MCP server giving access to Grafana dashboards, data and more.
- Connects パソコンでもクラウドでも
- Account or key Cloud: Needs X-Grafana-URL · Local: Needs GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD · 1 setting to fill in (GRAFANA_URL)
- Category 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
これは「AI につながるアプリ」タブにあり、スターを使わず次の順で並びます
| 1. Claude のコネクタディレクトリにある | はい | ディレクトリでの人気 15,487 |
|---|---|---|
| 2. チームが実際に試した | いいえ | |
| 3. タイのユーザー向け | いいえ | |
| 4. スターを除いた利用状況 | 20/100 | 人気 0 · 新しさ 12 · 応答中 8 · ユーザーのいいね +0 |
| 5. 登録日 | 2026-11-10 |
ユーザーのいいね: 0 · 順位に最大 5 点(1 人 1 点)加算。お金では買えません。
品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Grafana をインストールして。https://mcp.popnx.com/i/grafana-mcp-grafana.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 5/5 合格 · 質問内容は提供元のサーバー(mcp.grafana.com)を通ります · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude アプリでそのままインストール、設定は不要
Grafana Cloud は Claude が選んだ一覧に掲載されています。下のボタンからすぐ追加できます · 2026年11月16日 確認
Claude で Grafana Cloud のページを開く
claude.ai で開きます · 未ログインの場合は先に「Sign in to add」が表示されます
「Connect to Claude」を押し、求められたら Grafana Cloud のアカウントにログイン
「Failed to add the connector」と出たら、少し待ってからもう一度押すか、下の別の方法を使ってください
試してみる
Grafana を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です
メニュー名は 2026年11月13日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
別の方法:URL で自分で追加(custom connector)
Claude につなげます · 約 5 分
Grafana のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
Claude の Connectors ページを開く
CustomizeConnectors
「Add」→「Custom」→「Web」を押し、この 2 つを入力
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Name · 名前GrafanaRemote MCP server URL · アドレスhttps://mcp.grafana.com/mcpRequest headers に、この名前と値を追加
ヘッダー名X-Grafana-URL値<ここにキーを貼り付け>キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
チャットで有効にする
+ConnectorsGrafana
試してみる
Grafana を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Grafana につなげません
Grafana は接続時に自分のキーが必要ですが、OpenAI のヘルプページは OAuth ログインしか説明しておらず、確認できたキー入力方法がありません
代わりにできること
A · Grafana につなげるアプリを使う
- Grafana のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
- Grafana のキーが必要です(提供元のサイトで作成)
- Grafana のキーが必要です(提供元のサイトで作成)
- Grafana のキーが必要です(提供元のサイトで作成)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげます · 約 5 分
Grafana のキーが必要です(提供元のサイトで作成)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --transport http --scope user grafana https://mcp.grafana.com/mcp --header 'X-Grafana-URL: your-value'Enter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Grafana が一覧にあり、接続済みと表示されれば OK です
試してみる
Grafana を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 5 分
Grafana のキーが必要です(提供元のサイトで作成)
キーを入力
Grafana の設定で X-Grafana-URL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Grafana を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 5 分
Grafana のキーが必要です(提供元のサイトで作成)
キーを入力
Grafana の設定で X-Grafana-URL が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Grafana を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://mcp.grafana.com/mcpJSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
Web 経由
Claude Code
claude mcp add --transport http --scope user grafana https://mcp.grafana.com/mcp --header 'X-Grafana-URL: your-value'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"grafana": {
"url": "https://mcp.grafana.com/mcp",
"headers": {
"X-Grafana-URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"grafana": {
"type": "http",
"url": "https://mcp.grafana.com/mcp",
"headers": {
"X-Grafana-URL": "your-value"
}
}
}
}パソコンにインストール
Claude Code
claude mcp add --scope user grafana --env GRAFANA_URL=your-value --env GRAFANA_SERVICE_ACCOUNT_TOKEN=your-value --env GRAFANA_PASSWORD=your-value -- docker run -i --rm -e GRAFANA_URL -e GRAFANA_SERVICE_ACCOUNT_TOKEN -e GRAFANA_PASSWORD docker.io/grafana/mcp-grafana:2.3.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.3.0"
],
"env": {
"GRAFANA_URL": "your-value",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "your-value",
"GRAFANA_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.3.0"
],
"env": {
"GRAFANA_URL": "your-value",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "your-value",
"GRAFANA_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"grafana": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.3.0"
],
"env": {
"GRAFANA_URL": "your-value",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "your-value",
"GRAFANA_PASSWORD": "your-value"
}
}
}
}自分で入力する値
GRAFANA_URL必須 envGrafana インスタンスの URL英語の原文を見る
URL to your Grafana instanceGRAFANA_SERVICE_ACCOUNT_TOKEN秘密 必須 envGrafana インスタンスで認証するために使用するサービスアカウントトークン英語の原文を見る
Service account token used to authenticate with your Grafana instanceGRAFANA_USERNAMEenvGrafana インスタンスで認証するためのユーザー名英語の原文を見る
Username to authenticate with your Grafana instanceGRAFANA_PASSWORD秘密 必須 envGrafana インスタンスで認証するためのパスワード英語の原文を見る
Password to authenticate with your Grafana instanceGRAFANA_ORG_IDenvマルチオーガニゼーション対応のための組織 ID。SSE/streamable HTTP トランスポートでは X-Grafana-Org-Id ヘッダーでも設定できます。英語の原文を見る
Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.GRAFANA_EXTRA_HEADERSenvすべての Grafana API リクエストとともに送信する追加の HTTP ヘッダーの JSON オブジェクト英語の原文を見る
JSON object of additional HTTP headers to send with all Grafana API requestsGRAFANA_FORWARD_HEADERSenv受信リクエストから Grafana へ転送する HTTP ヘッダー名のカンマ区切りリスト(SSE/streamable-http のみ)。例: Cookie,X-Session-Id英語の原文を見る
Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-IdX-Grafana-URLHTTP headerGrafana Cloud インスタンスの URL英語の原文を見る
URL of your Grafana Cloud instance
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- npm/PyPIにない
- 接続方法
- パソコンでもクラウドでも
- 最新バージョンi
- v2.3.0
- レジストリ公開日i
- 2026年11月11日
- コードの最終更新i
- 2026年11月18日
- 最終確認
- 2026年11月18日
- 作者
- grafana
- パッケージ
oci: docker.io/grafana/mcp-grafana:2.3.0- ウェブサイト
- grafana.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
このサーバーは、ツール一覧を表示する前にサインインを求めます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント grafana で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:昨日
- ✓ 合格
ライセンスがある
Apache-2.0を使用
- ✓ 合格
エンドポイントが応答する
198ミリ秒で応答(HTTP 401)
- ✓ 合格
OAuthでサインイン
OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます
- … 未チェック
ツールの説明に隠れた指示がない
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
クラウドのアドレスは直近 4 回中 4 回応答 · 最新 198 ms · 確認日 2026年11月18日
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/grafana-mcp-grafana)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの6116件のうち99%よりスターが多い
- このカテゴリのほかの6116件のうち84%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6116件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Grafanaは安全ですか?
当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:X-Grafana-URL, GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD
パソコンで動きますか、それともクラウドですか?
どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は昨日、最新バージョン(v2.3.0)がレジストリに届いたのは8 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ Grafana | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | クラウドでもパソコンにインストールでも使える | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | はい | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | はい | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | Apache-2.0 | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Grafana MCP server
A Model Context Protocol (MCP) server for Grafana.
This provides access to your Grafana instance and the surrounding ecosystem.
Quick Start
Requires uv. Add the following to your MCP client configuration (e.g. Claude Desktop, Cursor):
{
"mcpServers": { "grafana": { "command": "uvx", "args": ["mcp-grafana"], "env": { "GRAFANA_URL": "http://localhost:3000", "GRAFANA_SERVICE_ACCOUNT_TOKEN": " " } } } }
For Grafana Cloud, replace GRAFANA_URL with your instance URL (e.g. https://myinstance.grafana.net). See Usage for more installation options including Docker, binary, and Helm.
Requirements
- Grafana version 9.0 or later is required for full functionality. Some features, particularly datasource-related operations, may not work correctly with earlier versions due to missing API endpoints.
Features
_The following features are currently available in MCP server. This list is for informational purposes only and does not represent a roadmap or commitment to future features._
Dashboards
- Search for dashboards: Find dashboards by title, folder UID, tag, or starred status
- Get dashboard by UID: Retrieve full dashboard details using its unique identifier. Pass optional
versionto load a saved snapshot instead of the current dashboard. _Warning: Large dashboards can consume significant context window space._ - List dashboard versions: List saved versions of a dashboard as compact metadata (version number, author, timestamp, save message)
- Get dashboard summary: Get a compact overview of a dashboard including title, panel count, panel types, variables, and metadata without the full JSON to minimize context window usage
- Get dashboard property: Extract specific parts of a dashboard using JSONPath expressions (e.g.,
$.title,$.panels[*].title) to fetch only needed data and reduce context window consumption - Update or create a dashboard: Modify existing dashboards or create new ones. _Warning: Requires full dashboard JSON which can consume large amounts of context window space._
- Patch dashboard: Apply specific changes to a dashboard without requiring the full JSON, significantly reducing context window usage for targeted modifications
- Get panel queries and datasource info: Get the title, query string, and datasource information (including UID and type, if available) from every panel in a dashboard
Run Panel Query
Note: Run panel query tools are disabled by default. To enable them, add
runpanelqueryto your--enabled-toolsflag.
- Run panel query: Execute a dashboard panel's query with custom time ranges and variable overrides. Infinity panels run when the query uses the
backendorjq-backendparser (Google Sheets queries always do); the defaultsimpleparser and the UQL and GROQ parsers work only in the browser. Neo4j panels on thekniepdennis-neo4j-datasourceplugin run their Cypher query through the plugin, which opens read-only sessions. Elasticsearch panels interpolate variables in the Lucene query with theluceneformat, as Grafana does, and auto date histograms use the same interval as$__interval.
Context Window Management
The dashboard tools now include several strategies to manage context window usage effectively (issue #101):
- Use `get_dashboard_summary` for dashboard overview and planning modifications
- Use `get_dashboard_property` with JSONPath when you only need specific dashboard parts
- Avoid `get_dashboard_by_uid` unless you specifically need the complete dashboard JSON
Datasources
- List and fetch datasource information: View all configured datasources and retrieve detailed information about each.
- _Supported datasource types: Prometheus, Loki, ClickHouse, CloudWatch, Elasticsearch, OpenSearch, Snowflake, Athena._
- Datasource resources: Each datasource you can access is also exposed as an MCP resource at
grafana://datasources/{uid}, so you can attach one to a conversation directly (for example with@in Claude Code) instead of the model looking it up. Disabled along with the datasource tools.
Query Examples
Note: Query examples tools are disabled by default. To enable them, add
examplesto your--enabled-toolsflag.
- Get query examples: Retrieve example queries for different datasource types to learn query syntax.
Prometheus Querying
- Query Prometheus: Execute PromQL queries (supports both instant and range metric queries) against Prometheus datasources.
- Query Prometheus metadata: Retrieve metric metadata, metric names, label names, and label values from Prometheus datasources.
- Query histogram percentiles: Calculate histogram percentile values (p50, p90, p95, p99) using histogram_quantile.
Loki Querying
- Query Loki logs and metrics: Run both log queries and metric queries using LogQL against Loki datasources.
- Query Loki metadata: Retrieve label names, label values, and stream statistics from Loki datasources.
- Query Loki patterns: Retrieve log patterns detected by Loki to identify common log structures and anomalies.
InfluxDB Querying
Note: InfluxDB tools are disabled by default. To enable them, add
influxdbto your--enabled-toolsflag.
- Query InfluxDB: Execute queries against InfluxDB datasources using either InfluxQL (v1.x) or Flux (v2.x). The dialect is inferred from the datasource configuration, or can be set explicitly via the
dialectparameter.
SQL Datasource Querying
Note: SQL tools are disabled by default. To enable them, add
sqlto your--enabled-toolsflag. Back-compat aliasesclickhouse,snowflake, andathenaalso work.
Unified SQL tools support ClickHouse, Snowflake, Athena, MySQL, PostgreSQL, MSSQL, and BigQuery through a single set of tools. Queries go through Grafana's datasource plugins, so authentication is handled by datasource configuration — credentials are never seen by the MCP server.
- List databases/schemas/catalogs: Discover organizational units for a SQL datasource. For Athena, omit catalog to list catalogs, or pass a catalog to list databases.
- List tables: List tables in a database or schema with metadata (row counts, sizes where available).
- Describe table schema: Get column names, types, nullability, defaults, and comments.
- Query SQL: Execute SQL queries with datasource-specific macro substitution (
$__timeFilter(col),$__from/$__to,$__interval,${varname}), automatic limit enforcement, and template variable support.
For BigQuery, configure the grafana-bigquery-datasource plugin in Grafana. Discovery uses database for the project and schema for the dataset. If database is omitted, the project defaults to datasource defaultProject, then the plugin's /defaultProjects endpoint (including GCE project discovery). Metadata is fetched through APIs only, without query jobs or table scans. Column descriptions and nested types are included; the plugin omits table descriptions/types, column nullability, and defaults.
BigQuery queries require qualified table references such as `my-project.my_dataset.fct_events` and use the datasource's billing project. Optional location defaults to datasource processingLocation. Use ${name:sqlstring} for escaped string variables. Row limits do not limit bytes scanned or query costs.
CloudWatch Querying
Note: CloudWatch tools are disabled by default. To enable them, add
cloudwatchto your--enabled-toolsflag.
- List CloudWatch namespaces: Discover available AWS CloudWatch namespaces.
- List CloudWatch metrics: List metrics available in a specific namespace.
- List CloudWatch dimensions: Get dimensions for filtering metric queries.
- Query CloudWatch: Execute CloudWatch metric queries with time range support.
- List CloudWatch log groups: Discover log groups, optionally filtered by name prefix.
- List CloudWatch log group fields: Discover the fields available in a log group.
- Query CloudWatch Logs: Run CloudWatch Logs Insights queries across one or more log groups.
Google Cloud Logging Querying
Note: Google Cloud Logging tools are disabled by default. To enable them, add
cloudloggingto your--enabled-toolsflag. Requires the Google Cloud Logging datasource plugin (googlecloud-logging-datasource) version 1.8.0 or later, which needs Grafana 11.2+. Older plugin versions return a different response layout andquery_cloud_loggingreports an error asking for an upgrade.
- List Cloud Logging projects: Discover the GCP project IDs the datasource can read logs from.
- List Cloud Logging buckets and views: Discover log buckets and log views to scope a query.
- Query Cloud Logging: Run Cloud Logging query language filters (e.g.
resource.type="k8s_container" AND severity>=ERROR) with time range and limit; returns entries newest-first with severity, body, labels, and trace ID. GCP authentication is handled by the datasource configuration.
Azure Monitor Querying
Note: Azure Monitor tools are disabled by default. To enable them, add
azuremonitorto your--enabled-toolsflag. They query through an Azure Monitor datasource (grafana-azure-monitor-datasource); Azure authentication is handled by the datasource configuration.
- Query Azure Log Analytics: Run KQL against one or more Log Analytics workspaces or resources with time range and limit; returns columns and rows.
- Query Azure Resource Graph: Run Resource Graph KQL to inventory Azure resources and their current state across subscriptions.
Graphite Querying
Note: Graphite tools are disabled by default. To enable them, add
graphiteto your--enabled-toolsflag.
- Query Graphite: Execute Graphite render API queries against a Graphite datasource.
- List Graphite metrics: Browse and discover Graphite metric paths.
- List Graphite tags: List available Graphite tags and tag values.
- Query Graphite density: Query Graphite metric density for a given pattern.
Elasticsearch/OpenSearch Querying
Note: Elasticsearch/OpenSearch tools are disabled by default. To enable them, add
elasticsearchto your--enabled-toolsflag.
- Query Elasticsearch/OpenSearch: Execute search queries against Elasticsearch or OpenSearch datasources using either Lucene query syntax or Elasticsearch Query DSL. Supports filtering by time range and retrieving logs, metrics, or any indexed data. Returns documents with their index, ID, source fields, and optional relevance score.
Quickwit Querying
Note: Quickwit tools are disabled by default. To enable them, add
quickwitto your--enabled-toolsflag.
- Query Quickwit: Execute search queries against Quickwit datasources using Lucene query syntax or partial Elasticsearc