cloudformation.yaml [832:845]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Metrics:
        - Id: e1
          Label: Percentage of requests which result in a 5XX error
          Expression: "100*(FILL(m1,0)/FILL(m2,1))"
        - Id: m1
          Label: Number of 5XX responses
          MetricStat:
            Metric:
              MetricName: 5XXError
              Namespace: AWS/ApiGateway
              Dimensions:
                - Name: ApiName
                  Value: !Sub ${App}-${Stage}
                - Name: Method
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cloudformation.yaml [917:930]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Metrics:
        - Id: e1
          Label: Percentage of requests which result in a 5XX error
          Expression: "100*(FILL(m1,0)/FILL(m2,1))"
        - Id: m1
          Label: Number of 5XX responses
          MetricStat:
            Metric:
              MetricName: 5XXError
              Namespace: AWS/ApiGateway
              Dimensions:
                - Name: ApiName
                  Value: !Sub ${App}-${Stage}
                - Name: Method
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



