Skip to content

[AWS][API Gateway] Fix metric type - #6952

Merged
constanca-m merged 4 commits into
elastic:mainfrom
constanca-m:api-gateway-metrics
Jul 14, 2023
Merged

constanca-m merged 4 commits into
elastic:mainfrom
constanca-m:api-gateway-metrics

Conversation

@constanca-m

@constanca-m constanca-m commented Jul 13, 2023 •

Copy link
Copy Markdown
Contributor

What does this PR do?

All metric fields are calculated through an aggregation (sum or avg). However, this is only for a given timestamp. On the next timestamp, new values will be used on the final aggregation and so on.

Because of this, the value for some field, 4XXError.sum for example, does not relate to the next 4XXError.sum field. The values are not cumulative over the different timestamps, and that is a requirement for a