grafana-aws-cloudwatch-dashboards

☁️ 40+ Grafana 儀表板,用於 AWS CloudWatch 指標:EC2、Lambda、S3、ELB、EMR、EBS、SNS、SES、SQS、RDS、EFS、ElastiCache、帳單、API Gateway、VPN、Step Functions、Route 53、CodeBuild 等

grafana-aws-cloudwatch-dashboards 是什麼?

40+ Grafana 儀表板,用於 AWS CloudWatch 指標:EC2、Lambda、S3、ELB、EMR、EBS、SNS、SES、SQS、RDS、EFS、ElastiCache、帳單、API Gateway、VPN、Step Functions、Route 53、CodeBuild 等

grafana-aws-cloudwatch-dashboards 概覽

這是什麼

這是一套包含超過 40 個 Grafana 儀表板的集合,用於 AWS CloudWatch 指標,並已發佈在 grafana.com 上。這些儀表板涵蓋多種 AWS 服務,包括 EC2、Lambda、S3、ELB、EMR、EBS、SNS、SES、SQS、RDS、EFS、ElastiCache、Billing、API Gateway、VPN、Step Functions、Route 53、CodeBuild 等。該專案已被下載超過一千萬次。

主要功能

  • 超過 40 個預先建置的 AWS CloudWatch 指標儀表板 - 涵蓋主要 AWS 服務(EC2、Lambda、S3、RDS 等) - 儀表板發佈在 grafana.com,可透過 Grafana API 匯入 - 支援自訂儀表板變數(如 Region),匯入後需手動設定 - 提供一次性匯入所有儀表板的範例腳本 - 提供最小 IAM 政策範例,讓 Grafana 存取 CloudWatch 和 EC2 指標

使用情境

  • 使用 Grafana 監控 AWS 基礎設施與服務 - 快速視覺化 CloudWatch 指標,無需從頭建立儀表板 - 在單一 Grafana 實例中集中監控多個 AWS 資源 - DevOps 團隊需要現成儀表板來監控常見 AWS 服務

快速開始

使用提供的 bash 腳本一次匯入所有儀表板(需要 bash、curl 和 jq): bash #!/bin/bash jq --version >/dev/null 2>&1 || { echo >&2 'I require jq but it is not installed. Aborting.'; exit 1; } ### Please edit grafana_* variables to match your Grafana setup: grafana_host='http://localhost:3000' grafana_cred='admin:admin' # Keep grafana_folder empty for adding the dashboards in 'General' folder grafana_folder='AWS CloudWatch' ds=(1516 677 139 674 659 758 623 617 551 653 969 650 644 607 593 707 575 1519 581 584 2969 8050 11099 11154 11155 12979 13018 13040 13104 13892 14189 14391 14392 14954 14955 15016 16899 17741 17978 20007 20008 20009 20144 25647 25736); folderId=$(curl -s -k -u '$grafana_cred' $grafana_host/api/folders | jq -r --arg grafana_folder '$grafana_folder' '.[] | select(.title==$grafana_folder).id') if [ -z '$folderId' ] ; then echo 'Did not get folderId' ; else echo 'Got folderId $folderId' ; fi for d in '${ds[@]}'; do echo -n 'Processing $d: ' j=$(curl -s -k -u '$grafana_cred' $grafana_host/api/gnet/dashboards/$d | jq .json) payload='{'dashboard':$j,'overwrite':true' if [ ! -z '$folderId' ] ; then payload='${payload}, 'folderId': $folderId }'; else payload='${payload} }' ; fi curl -s -k -u '$grafana_cred' -XPOST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '$payload' $grafana_host/api/dashboards/import; echo '' done 或者使用 jsonnet-bundler 安裝為 Jsonnet 函式庫: shell $ jb install github.com/monitoringartist/grafana-aws-cloudwatch-dashboards

授權與價格

授權:GPL-3.0(開放原始碼)。價格:未說明(該專案為開放原始碼)。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/monitoringartistgrafana-aws-cloudwatch-dashboards.svg)](https://yunodb.com/tools/monitoringartistgrafana-aws-cloudwatch-dashboards?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/monitoringartistgrafana-aws-cloudwatch-dashboards?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/monitoringartistgrafana-aws-cloudwatch-dashboards.svg" alt="Featured on YunoDB" height="20"></a>