Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Add support for external API Gateway in the dashboards #215

Open
lucasvieirasilva opened this issue Mar 25, 2022 · 0 comments · May be fixed by #216
Open

Add support for external API Gateway in the dashboards #215

lucasvieirasilva opened this issue Mar 25, 2022 · 0 comments · May be fixed by #216

Comments

@lucasvieirasilva
Copy link

This is a Feature Proposal

Description

Currently, this plugin uses the stage and service name to build the API gateway name.

Code reference: https://github.com/ACloudGuru/serverless-plugin-aws-alerts/blob/master/src/dashboards/widgets/api-gw/requests/numbers.js#L2

But will be nice to support API gateway created externally.

In the alarms configuration section the apiName could be an optional property, like this:

custom:
  alerts:
    dashboards: true
    dashboardConfig: 
      apiName: 'my-custom-api-gateway-name'
lucasvieirasilva added a commit to lucasvieirasilva/serverless-plugin-aws-alerts that referenced this issue Mar 25, 2022
@lucasvieirasilva lucasvieirasilva changed the title Add support for external created API Gateway Add support for external API Gateway in the dashboards Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant