Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit 13531e0

Browse files
committed
Added CloudWatch Dashboard to master template
1 parent c056fa4 commit 13531e0

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

cloudformation/fargate-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Resources:
5757
MetricTransformations:
5858
-
5959
MetricValue: "$avgRt"
60-
MetricNamespace: "dlt-fargate/``````taurus``````"
60+
MetricNamespace: "dlt-fargate/taurus"
6161
MetricName: "avgResponseTime"
6262

6363
FargateTaskDefinition:

cloudformation/master.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ Resources:
2727
DockerRegistry:
2828
Type: AWS::ECR::Repository
2929

30+
CloudWatchDashboard:
31+
Type: AWS::CloudWatch::Dashboard
32+
Properties:
33+
DashboardBody: !Sub '{"widgets":[{"type":"metric","x":0,"y":0,"width":8,"height":8,"properties":{"metrics":[["dlt-fargate/taurus","avgResponseTime"]],"view":"timeSeries","stacked":true,"region":"${AWS::Region}","stat":"Average"}}]}'
34+
3035
TaskExecutionRole:
3136
Type: AWS::IAM::Role
3237
Properties:

docs/cfn-outputs.png

-258 KB
Binary file not shown.

docs/cloudformation.png

-137 KB
Binary file not shown.

0 commit comments

Comments
 (0)