Skip to content
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

[aws-cloudwatch] GraphWidget support for different view types #11177

Closed
2 tasks
aolundin opened this issue Oct 28, 2020 · 2 comments
Closed
2 tasks

[aws-cloudwatch] GraphWidget support for different view types #11177

aolundin opened this issue Oct 28, 2020 · 2 comments
Assignees
Labels
@aws-cdk/aws-cloudwatch Related to Amazon CloudWatch feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@aolundin
Copy link

Analogous feature request to #9675

Currently GraphWidget only supports 'timeSeries' view. We should be able to create bar/pie charts from metrics.

Cloudformation supports (timeSeries | singleValue | bar | pie). ref: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html#CloudWatch-Dashboard-Properties-Metric-Widget-Object

Use Case

  • Being able to build cloudwatch dashboards with pie/bar widgets from metrics widgets.
  • Feature parity with cloudformation

Proposed Solution

It looks like we've already got a SingleValueWidget in this library, so we probably want to implement this with that pattern and create two new classes for the missing types (bar & pie).

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@aolundin aolundin added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Oct 28, 2020
@github-actions github-actions bot added the @aws-cdk/aws-cloudwatch Related to Amazon CloudWatch label Oct 28, 2020
@aolundin
Copy link
Author

Should have searched for issues before creating this one... Closing as dup of #11063

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudwatch Related to Amazon CloudWatch feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants