-
Notifications
You must be signed in to change notification settings - Fork 29
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
how to enable AWS Cloudwatch Lambda Insights? #46
Comments
I don't think the prerendercloud-lambda-edge/serverless.yml Line 63 in e6ce2a6
can you try recreating (or modifying the trust policy) so it only has access to 1 service "lambda.amazonaws.com" instead of both "edgelambda.amazonaws.com" and "lambda.amazonaws.com"? |
will try thanks, it's interesting that's it is off by default, so i was wondering if there was specific reason. |
let me know what you find or if you have any more info about the "Role trusts too many services, expected only 1." error |
@jotto the issue is that we cannot see any monitoring because when we deploy the function Insights are disabled, we can see logs though and we can see it's working. So that's the main question if you know how to enable monitoring? and without monitoring we don't get any cloudwatch stats all dashboard are empty and traces as well |
those basic cloudwatch metrics should be working by default... can you try changing the date range from 1w to 1hr to ensure it's not hiding the most recent data? also email me [email protected] with your account email so i can double check that the requests are being made |
We will send en email, as we trying to debug blocklist functionality. What's really weird if we do test manually we can see invocations and logs. but when it's executed from cloudfront no invocations are shown in lambda monitoring, however cloudfront does show stats that function is called, it's a bit all bizzare, we also know 100% that it's working. |
Hi,
When we deployed the the lambda edge we can't see any monitoring, trying to change configuration in place we getting an error: Role trusts too many services, expected only 1.
I guess there must be some configuration in deploy which would switch on?
maybe envrionment is required, but we not sure how to correctly set it up using this project.
Thanks.
The text was updated successfully, but these errors were encountered: