Skip to content

Metrics dashboard approach for AWS API Gateway when Detailed Metrics is enabled #7837

@lucian-ioan

Description

@lucian-ioan

Ingesting data for AWS API Gateway while making requests to a REST API, the following behavior can be observed:
4_documents

We get 4 documents, each with varying dimensions. This is similar to the ApiGateway CloudWatch metric groupings for REST APIs:

  • Across All APIs (no dimensions, only Count and Data Processed metrics)
  • By Api Name (ApiName dimension)
  • By Stage (ApiName, Stage dimensions)
  • By Method (ApiName, Stage, Resource, Method dimensions)

If the Detailed metrics option is set to Inactive in the Logs and tracing settings for the API Stage, then only 3 documents will be present (as that option enables metrics tracing for each specific method):
3_documents

Since we can't guarantee the end user will enable Detailed metrics, we can't just consider only the documents will all dimensions.

With Detailed Metrics being an an opt-in feature rather than the default setting, one approach to ensure consistent data on the dashboard, whether Detailed Metrics is on or off, is to exclude these additional documents using dimension filters.

Metadata

Metadata

Assignees

Labels

Integration:awsAWSbugSomething isn't working, use only for issuesenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions