diff --git a/README.md b/README.md index d715fbabd..57d55086d 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ Only the latest version gets security updates. We won't support older versions. * `AWS/QuickSight` - QuickSight (Business Intelligence) * `AWS/RDS` - Relational Database Service * `AWS/Redshift` - Redshift Database + * `AWS/Redshift-Serverless` - Redshift Serverless * `AWS/Route53` - Route53 Health Checks * `AWS/Route53Resolver` - Route53 Resolver * `AWS/RUM` - Real User Monitoring diff --git a/examples/redshift-serverless.yml b/examples/redshift-serverless.yml new file mode 100644 index 000000000..d839033f2 --- /dev/null +++ b/examples/redshift-serverless.yml @@ -0,0 +1,21 @@ +apiVersion: v1alpha1 +discovery: + jobs: + - type: AWS/Redshift-Serverless + regions: + - us-east-1 + period: 300 + length: 300 + metrics: + - name: DatabaseConnections + statistics: [Average] + - name: ComputeCapacity + statistics: [Average] + - name: QueryRuntimeBreakdown + statistics: [Average] + - name: QueriesRunning + statistics: [Average] + - name: QueriesQueued + statistics: [Average] + - name: QueryDuration + statistics: [Average] diff --git a/pkg/config/services.go b/pkg/config/services.go index 3361e72fe..7eb840749 100644 --- a/pkg/config/services.go +++ b/pkg/config/services.go @@ -760,6 +760,13 @@ var SupportedServices = serviceConfigs{ regexp.MustCompile(":cluster:(?P[^/]+)"), }, }, + { + Namespace: "AWS/Redshift-Serverless", + Alias: "redshift", + ResourceFilters: []*string{ + aws.String("redshift-serverless:namespace"), + }, + }, { Namespace: "AWS/Route53Resolver", Alias: "route53-resolver",