Skip to content

Add Support for X-Ray and Full list of MethodSettings #30

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

Open
mandyjohar23 opened this issue Aug 30, 2019 · 0 comments · May be fixed by #31
Open

Add Support for X-Ray and Full list of MethodSettings #30

mandyjohar23 opened this issue Aug 30, 2019 · 0 comments · May be fixed by #31

Comments

@mandyjohar23
Copy link

mandyjohar23 commented Aug 30, 2019

Presently the plugin doesn't support enabling X-Ray for API Gateway Stage and controlling full exhaustive list of Method Settings variables.

Use Case:

  • Enable X-Ray for API Gateway Stage
  • Control Cache, DataTrace, DetailedMethodMetrics etc at Global(use RequestPath: /*) and each Method Level(overwrite using individual RequestPaths)
  stageSettings:
    CacheClusterEnabled: true
    CacheClusterSize: '0.5'
    TracingEnabled: Boolean
    Variables:
      foo: bar
      baz: xyzzy
    # MethodSettings:Use this to overwrite above global settings at each method level.
    # Type: List of MethodSetting
    MethodSettings:
    - CacheDataEncrypted: Boolean
      CacheTtlInSeconds: Integer
      CachingEnabled: Boolean
      DataTraceEnabled: Boolean
      HttpMethod: String
      LoggingLevel: String
      MetricsEnabled: Boolean
      ResourcePath: String
      ThrottlingBurstLimit: Integer
      ThrottlingRateLimit: Double
      ...
    - CacheDataEncrypted: Boolean
      CacheTtlInSeconds: Integer
      CachingEnabled: Boolean
      ...
      ...```

I will submit a PR for this.
mandyjohar23 pushed a commit to mandyjohar23/serverless-api-stage that referenced this issue Aug 30, 2019
mandyjohar23 pushed a commit to mandyjohar23/serverless-api-stage that referenced this issue Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant