Skip to content

Conversation

hakbailey
Copy link
Contributor

@hakbailey hakbailey commented Aug 5, 2022

What does this PR do?

Adds Sentry integration example to the repo.

Includes new or updated dependencies?

YES

What are the relevant tickets?

Developer

  • All new ENV is documented in README (or there is none)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Why these changes are being introduced:
We generally want Sentry integration for most apps, and its a bit
different for lambda functions than for other Python apps so it's
important to have an example integration in this lambda template repo.

How this addresses that need:
* Adds sentry_sdk dependency to Pipfile.
* Adds Sentry lambda integration to my_function module.
* Adds check for required WORKSPACE env in lambda_handler function.
* Adds tests for new functionality.
* Updates README to include instructions for setting up a Sentry
  project when creating a new app from this template.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-526
@hakbailey hakbailey requested a review from ehanson8 August 5, 2022 20:32
@hakbailey hakbailey merged commit 985e803 into main Aug 18, 2022
@hakbailey hakbailey deleted the add-sentry-integration branch August 18, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants