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

(s3): allow adding BucketMetrics to unowned buckets #15838

Open
2 tasks
fs111 opened this issue Jul 30, 2021 · 2 comments
Open
2 tasks

(s3): allow adding BucketMetrics to unowned buckets #15838

fs111 opened this issue Jul 30, 2021 · 2 comments
Labels
@aws-cdk/aws-s3 Related to Amazon S3 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1

Comments

@fs111
Copy link

fs111 commented Jul 30, 2021

BucketMetrics allow one to have per prefix cloudwatch metrics on buckets. The IBucket interface does not allow adding new ones. The IBucket interface is however the only way to get to an existing bucket within the CDK.

Use Case

We are having a data architecture where multiple processes are writing to a central S3 bucket (think data-lake of sorts). We want to be able to build cloud-watch dashboards/alarms on the metrics of the different prefixes being written to. The bucket already exists and can not be made CDK managed right now. Whenever we deploy a new stack that writes to a new prefix in the bucket, we would like to be able to define a metrics filter, that we can see the metrics in cloud-watch. The console UI allows me to do that, but that is not desirable, since we are constantly adding new processes that write to new prefixes.

I believe this is similar to #2004 just with BucketMetrics.

Proposed Solution

I don't know how do do that right now.

Other

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

This is a 🚀 Feature Request

@fs111 fs111 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jul 30, 2021
@github-actions github-actions bot added the @aws-cdk/aws-s3 Related to Amazon S3 label Jul 30, 2021
@otaviomacedo otaviomacedo added effort/medium Medium work item – several days of effort p2 and removed needs-triage This issue or PR still needs to be triaged. labels Jul 30, 2021
@otaviomacedo otaviomacedo removed their assignment Jul 30, 2021
@otaviomacedo
Copy link
Contributor

Yes, I believe the solution will be similar to the notifications one. We can't work on this immediately, however.

We use +1s to help prioritize our work, and are happy to revaluate this issue based on community feedback. You can reach out to the cdk.dev community on Slack to solicit support for reprioritization.

@github-actions
Copy link

This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue.

@github-actions github-actions bot added p1 and removed p2 labels Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-s3 Related to Amazon S3 effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1
Projects
None yet
Development

No branches or pull requests

2 participants