-
Notifications
You must be signed in to change notification settings - Fork 597
new redshift collector #232
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
base: master
Are you sure you want to change the base?
Conversation
|
@amitgilad3: What is the status of this PR? It doesn't seem like its passing its test cases. |
|
Can you update to use boto3? Also can you fix the pep8 issues? |
| """ | ||
| config = super(RdsCollector, self).get_default_config() | ||
| config.update({ | ||
| 'access_key_id': 'access_key', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't set a default with an id and key.
| metric_name=attribute, | ||
| statistics=["Sum"], | ||
| dimensions={'DBInstanceIdentifier':dbInstanceIdentifier}) | ||
| except Exception: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except Exception as e.
| secret_access_key:aws secret key | ||
| DBInstanceIdentifiers: db name or * for all databases | ||
|
|
||
| metrics will be published under rds.<dbname>.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change rds to redshift throughout this file.
|
|
||
| Dependencies | ||
|
|
||
| botot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling
| metric_name=attribute, | ||
| statistics=["Sum"], | ||
| dimensions={'ClusterIdentifier':ClusterIdentifier}) | ||
| except Exception,e: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except Exception as e.
No description provided.