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

feat: Add support for Redshift-Serverless #1589

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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