Grafana-aws-cloudwatch-dashboards
제품 정보
오픈소스 사용 사례
공개 채팅
지원 계획
현재 사용할 수 있는 OSS 플랜이 없습니다.
저장소의 제공자 또는 기여자인 경우 OSS 플랜 추가를 시작할 수 있습니다.
OSS 플랜 추가이 오픈소스에 대한 플랜을 찾고 있다면 저희에게 문의해 주세요.
전문 공급자와 연락하실 수 있도록 도와드리겠습니다.
제품 세부 정보
Grafana dashboards for AWS CloudWatch
Set of AWS Grafana dashboards published on grafana.com - 10M+ downloads.
Doc:
Feel free to create pull request for additional AWS resources/printscreens/...
Please set your dashboard variables (Region, ...
) after dashboard import.
Empty dashboard variables are reason of initial "Unable to call AWS API" or "Metric request error" error.
Import all Monitoring Artist AWS dashboards in one go (example script,
bash/curl/jq
required):
#!/bin/bash
jq --version >/dev/null 2>&1 || { echo >&2 "I require jq but it's 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 590 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);
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 "Didn't 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
Use AWS Policy Generator, which fits your needs. Example of minimal IAM role for Grafana (CloudWatch + EC2 metrics):
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowReadingMetricsFromCloudWatch",
"Effect": "Allow",
"Action": [
"cloudwatch:DescribeAlarmsForMetric",
"cloudwatch:DescribeAlarmHistory",
"cloudwatch:DescribeAlarms",
"cloudwatch:ListMetrics",
"cloudwatch:GetMetricStatistics",
"cloudwatch:GetMetricData"
],
"Resource": "*"
},
{
"Sid": "AllowReadingTagsInstancesRegionsFromEC2",
"Effect": "Allow",
"Action": [
"ec2:DescribeTags",
"ec2:DescribeInstances",
"ec2:DescribeRegions"
],
"Resource": "*"
},
{
"Sid": "AllowReadingResourcesForTags",
"Effect" : "Allow",
"Action" : "tag:GetResources",
"Resource" : "*"
}
]
}
See https://github.com/monitoringartist/grafana-cross-account-cloudwatch-access for AWS cross account access.
You can also install this project as a Jsonnet library with jsonnet-bundler:
$ jb install github.com/monitoringartist/grafana-aws-cloudwatch-dashboards
$ cat > aws-cloudwatch-dashboards.jsonnet <<EOF
local awsCloudWatch = import 'github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/dashboards.libsonnet';
awsCloudWatch.grafanaDashboards
EOF
$ jsonnet -J vendor aws-cloudwatch-dashboards.jsonnet
Single click provisioning - login as admin/admin
and create CloudWatch datasource from your Access & secret key
to see all dashboards with your data.
AWS API Gateway
AWS Auto Scaling
AWS Billing
AWS Certificate Manager
AWS CloudFront
AWS CloudWatch Browser
AWS CloudWatch Synthetics
AWS CloudWatch Usage Metrics
AWS CodeBuild
AWS Cognito
AWS Direct Connect
AWS DynamoDB
AWS EBS
AWS EC2
AWS ECS
AWS EFS
AWS EKS
AWS ElastiCache Redis
AWS ELB Classic Load Balancer
AWS ELB Application Load Balancer
AWS EMR Hadoop 2
AWS Eventbridge
AWS FSx
AWS Inspector
AWS Kinesis
AWS Kinesis Firehose
AWS Lambda
AWS Logs
AWS Network Firewall
AWS Prometheus
AWS RDS
AWS Redshift
AWS Route 53
AWS S3
AWS SES
AWS SNS
AWS SQS
AWS Step Functions
AWS Storage Gateway
AWS Transfer Family
AWS Transit Gateway
AWS VPN
AWS WAF
AWS X-Ray
Author
Devops Monitoring Expert, who loves monitoring systems and cutting/bleeding edge technologies: Docker, Kubernetes, ECS, AWS, Google GCP, Terraform, Lambda, Zabbix, Grafana, Elasticsearch, Kibana, Prometheus, Sysdig,...
Summary:
- 4 000+ GitHub stars
- 10 000 000+ Grafana dashboard downloads
- 60 000 000+ Docker images downloads
Professional devops / monitoring / consulting services: