Skip to content

Commit

Permalink
feat: Add support for Redshift-Serverless
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas.bazinet committed Dec 6, 2024
1 parent 49a296a commit c6f9dba
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions examples/redshift-serverless.yml
Original file line number Diff line number Diff line change
@@ -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]
7 changes: 7 additions & 0 deletions pkg/config/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,13 @@ var SupportedServices = serviceConfigs{
regexp.MustCompile(":cluster:(?P<ClusterIdentifier>[^/]+)"),
},
},
{
Namespace: "AWS/Redshift-Serverless",
Alias: "redshift",
ResourceFilters: []*string{
aws.String("redshift-serverless:namespace"),
},
},
{
Namespace: "AWS/Route53Resolver",
Alias: "route53-resolver",
Expand Down

0 comments on commit c6f9dba

Please sign in to comment.