From 1ff89da2c37fd03c39a768c2ad3b3db8ca18568c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Sep 2024 07:50:35 +0000 Subject: [PATCH] Bump package version --- .changeset/rare-geese-wait.md | 27 --------------------------- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 29 insertions(+), 28 deletions(-) delete mode 100644 .changeset/rare-geese-wait.md diff --git a/.changeset/rare-geese-wait.md b/.changeset/rare-geese-wait.md deleted file mode 100644 index 389a29827d..0000000000 --- a/.changeset/rare-geese-wait.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@guardian/cdk": minor ---- - -feat(asg) Collect all ASG level metrics - -This change should have no cost impact: - -> Group metrics are available at one-minute granularity at no additional charge, but you must enable them. -> – https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html. - -If it does, or if you only want a subset, the escape hatch mechanism can be used: - -```ts -declare const asg: AutoScalingGroup; - -const cfnAsg = asg.node.defaultChild as CfnAutoScalingGroup; - -cfnAsg.metricsCollection = [ - { - granularity: "1Minute", - metrics: [ - // A subset of metrics - ], - }, -]; -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c1b958bec..9b5a593d5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # @guardian/cdk +## 59.4.0 + +### Minor Changes + +- 43dc653: feat(asg) Collect all ASG level metrics + + This change should have no cost impact: + + > Group metrics are available at one-minute granularity at no additional charge, but you must enable them. + > – https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html. + + If it does, or if you only want a subset, the escape hatch mechanism can be used: + + ```ts + declare const asg: AutoScalingGroup; + + const cfnAsg = asg.node.defaultChild as CfnAutoScalingGroup; + + cfnAsg.metricsCollection = [ + { + granularity: "1Minute", + metrics: [ + // A subset of metrics + ], + }, + ]; + ``` + ## 59.3.5 ### Patch Changes diff --git a/package.json b/package.json index 8185604551..292fe93ffb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@guardian/cdk", "description": "Generic Guardian flavoured AWS CDK components", - "version": "59.3.5", + "version": "59.4.0", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [