github.com/mweagle/Sparta@v1.15.0/docs_source/content/reference/operations/cloudwatch_dashboard.md (about) 1 --- 2 date: 2018-01-22 21:49:38 3 title: CloudWatch Dashboard 4 weight: 10 5 alwaysopen: false 6 --- 7 8 The [DashboardDecorator](https://godoc.org/github.com/mweagle/Sparta/decorator#DashboardDecorator) creates a CloudWatch Dashboard that produces a single [CloudWatch Dashboard](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html) to summarize your stack's behavior. 9 10 Sample usage: 11 12 ```go 13 func workflowHooks(connections *service.Connections, 14 lambdaFunctions []*sparta.LambdaAWSInfo, 15 websiteURL *gocf.StringExpr) *sparta.WorkflowHooks { 16 // Setup the DashboardDecorator lambda hook 17 workflowHooks := &sparta.WorkflowHooks{ 18 ServiceDecorators: []sparta.ServiceDecoratorHookHandler{ 19 spartaDecorators.DashboardDecorator(lambdaFunctions, 60), 20 serviceResourceDecorator(connections, websiteURL), 21 }, 22 } 23 return workflowHooks 24 } 25 ``` 26 27 A sample dashboard for the [SpartaGeekwire](https://github.com/mweagle/SpartaGeekwire) project is: 28 29  30 31 Related to this, see the recently announced [AWS Lambda Application Dashboard](https://aws.amazon.com/about-aws/whats-new/2018/08/aws-lambda-console-enables-managing-and-monitoring/).