question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AWS Lambda Container Image (Python)

See original GitHub issue

Environment

How do you use Sentry? Sentry SaaS (sentry.io)

Which SDK and version? Python 3.8

Steps to Reproduce

  1. Followed steps on https://docs.sentry.io/platforms/python/guides/aws-lambda/container-image/
  2. Started lambda function with function code deployed as a container image

Expected Result

Sentry initializes normally

Actual Result

Lambda ended with Execution result: failed and returned

{
  "errorMessage": "Unable to import module 'sentry_sdk.integrations.init_serverless_sdk': No module named 'init_serverless_sdk'",
  "errorType": "Runtime.ImportModuleError",
  "stackTrace": []
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
juanmarin96commented, Aug 23, 2022

I found that the installed version of public.ecr.aws/sentry/sentry-python-serverless-sdk:6 which is in the documentation is 1.3.0 image which has init_serverless_sdk module, but if you install the latest version 1.9.5 that module was removed, seems to be that the documentation and the package for integrate Sentry with Lamba Container is out date. Do you have any news about this?

1reaction
github-actions[bot]commented, Dec 23, 2021

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone … forever!


“A weed is but an unloved flower.” ― Ella Wheeler Wilcox 🥀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy Python Lambda functions with container images
Deploy your Python Lambda function code as a container image using an AWS provided base image or the runtime interface client.
Read more >
amazon/aws-lambda-python - Docker Image
AWS provided base images for Lambda contain all the required components to run your functions packaged as container images on AWS Lambda. These...
Read more >
Building AWS Lambda Container Images | by Ram Vegiraju
AWS Lambda functions are incredibly powerful and one of the core building blocks for serverless applications. ... First we grab the AWS base...
Read more >
Container Images for AWS Lambda with Python
Container Images for AWS Lambda with Python · Prerequisites · Building a Docker container with dependencies · Building & Testing Locally · Running ......
Read more >
Containerizing Python Apps for Lambda | Slim.AI Blog
This technical article will explain the benefits of containerized Lambda applications and show you how to deploy images to AWS Lambda. We'll ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found