serverless-api-stage icon indicating copy to clipboard operation
serverless-api-stage copied to clipboard

refs #30 add support for X-Ray and full MethodSettings(incl. Cloudwatch Detailed Monitoring)

Open mandyjohar23 opened this issue 5 years ago • 5 comments

Fixes #30

mandyjohar23 avatar Aug 30 '19 04:08 mandyjohar23

Thanks @mandyjohar23 .
Hey @leftclickben can we get this one in? Really need this one.

roni-frantchi avatar Apr 27 '20 07:04 roni-frantchi

@mandyjohar23 so currently, it is not possible to use something like this, right?

  stageSettings:
    MethodSettings:
      - ResourcePath: '/~1api~1auth'
        HttpMethod: '*'
        ThrottlingBurstLimit: 1
        ThrottlingRateLimit: 1

sambP avatar Sep 20 '20 13:09 sambP

Screenshot 2020-09-20 at 16 34 31 I tested my settings above with your pr, but it didn't seem to work.

sambP avatar Sep 20 '20 14:09 sambP

@sambP You can try to do sls package first(with plugin) and see if the local Cloudformation template has all the required properties that you want or not. If the CF template is correct then the deployment shouldn't have any problem.

mandyjohar23 avatar Sep 21 '20 10:09 mandyjohar23

I searched in the cloudformation-template-create/udpate-stack.json file after a fresh "serverless package" for "thrott", but could not find anything.

My package.json "serverless-api-stage": "leftclickben/serverless-api-stage#31/head",

plugins:
  - serverless-api-stage

This is strange.

sambP avatar Sep 21 '20 10:09 sambP