-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertical annotations for CloudWatch GraphWidgets #7622
Comments
+1 Need to show deployments in related stacks of the CW graph. Once we have this we can identify which deployment is the rootcause |
Happy to have this feature in CDK, but I have a hard time seeing the described use case in practice.
Could you go into some detail how you would use this feature if available? |
Would you just automatically add a vertical annotation with the current date and time in your CDK app, and assume the interval between synthesis and deployment is "not too long"? ---- this one making more sense... |
I actually used lambda to add timelines as we cannot add timelines in CDK it will be huge. So it should not done as part of CDK as we cannot get live timelines Create lambda which takes CW dashboards as input
Currently scheduled lambda every 15mins. |
This would be useful still. Right now my workaround is this: https://gist.github.com/brendo-m/a10f37a7248029a0e6a09b14b5e1600c Seems like a small amount of work to add this upstream to CDK |
I also agree this would be a super useful feature to automatically indicate deployments or infra changes in CI/CD pipelines |
Revived my PR in #22568 |
Reopened since this is not supported |
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Clsoes aws#7622 Shoutout to brendo-m for coming up with the solution
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Closes aws#7622. Shoutout to brendo-m for coming up with the solution
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes aws#7622.
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes aws#7622.
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes aws#7622.
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes aws#7622.
Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes aws#7622.
…6819) Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes #7622. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
…6819) Adds a verticalAnnotation property to GraphWidget, reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Annotation-Format Shoutout to brendo-m for coming up with the solution Closes #7622. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Horizontal Annotations are available for GraphWidgets in CDK. But we don't have Vertical Annotations available in CDK
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-cloudwatch.HorizontalAnnotation.html
Use Case
We normally plot Vertical lines i.e particular timestamps of deployments/Events in the Graphs during troubleshooting any particular issue.
Let say we want to check if Latency/Error counts increased after particular deployment or timestamp.
We have that same feature in Cloudwatch Console. We can create it manually.
But CDK doesn't have that same feature.
Proposed Solution
Add one more property for Graph Widget like Horizontal Annotation
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-cloudwatch.HorizontalAnnotation.html
The text was updated successfully, but these errors were encountered: