Skip to content

NotAuthorizedException if Permormance Insights is not enabled #6

@fogfish

Description

@fogfish

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions