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

NotAuthorizedException if Permormance Insights is not enabled #6

Open
fogfish opened this issue Mar 8, 2024 · 1 comment
Open

NotAuthorizedException if Permormance Insights is not enabled #6

fogfish opened this issue Mar 8, 2024 · 1 comment

Comments

@fogfish
Copy link
Member

fogfish commented Mar 8, 2024

If RDS instance don't have PI enabled the rds-health check -n DB shows:

Error: operation error PI: GetResourceMetrics, https response error StatusCode: 400, RequestID: xxx, NotAuthorizedException: The resource db-xxx for service type RDS is not authorized for this account: failed to fetch samples
Operation error PI: GetResourceMetrics, https response error StatusCode: 400, RequestID: xxx, NotAuthorizedException: The resource db-xxx for service type RDS is not authorized for this account: failed to fetch samples

Expected Behaviour:
Have a clear message that's-health` fails to get the data, because PI is not enabled.

@fogfish
Copy link
Member Author

fogfish commented Mar 8, 2024

subset of #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant