aws / aws/chalice

Lambda Insights Support

Open
#1,752 2 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

Just curious if Chalice has any support to enable Lambda Insights? I think when you enable Lambda Insights using the AWS Console, then "Lambda adds the Lambda Insights extension as a layer to your function, and verifies or attempts to attach the CloudWatchLambdaInsightsExecutionRolePolicy policy to your function’s execution role." (see https://docs.aws.amazon.com/lambda/latest/dg/monitoring-insights.html#monitoring-insights-enabling-console)

I am not sure if the layer somehow can be added manually instead since that would already be possible.

Contributor guide

Open the contributing guide

Research direction

Start with the AWS Lambda Insights enabling documentation linked in the issue and inspect how Chalice currently configures Lambda layers and execution-role policies. Determine whether the requested support is configuration, documentation, or both; done should mean a defined way to enable Lambda Insights through Chalice, with corresponding validation or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.