-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
APIGW: migrate to new Counter type for REST API analytics #12383
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
Conversation
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 31m 46s ⏱️ - 1h 19m 45s Results for commit cdb5635. ± Comparison against base commit c4e88ef. This pull request removes 3202 tests.
♻️ This comment has been updated with latest results. |
75084f1
to
e0ee15e
Compare
localstack-core/localstack/services/apigateway/next_gen/execute_api/handlers/analytics.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🥳 I just added a non-blocking comment in case you’d like to consider separating execution type and target service. This would simplify filtering and aggregation of invocation types by service.
Motivation
This PR replaces the analytics Counter used for tracking usage of
execute-api
routes for API Gateway REST APIs.Changes
Testing
To test the changes:
tests.aws.services.apigateway.test_apigateway_http.test_http_integration_method
integration test withTEST_SKIP_LOCALSTACK_START=1
set, to avoid trying to start LocalStack with the testshutdown LocalStack
Now, with more tests:
apigateway.test_apigateway_eventbridge.test_apigateway_to_eventbridge
apigateway.test_apigateway_lambda.test_lambda_aws_proxy_integration
apigateway.test_apigateway_sqs.test_sqs_aws_integration