Skip to content

feat: Add SENTRY_SPOTLIGHT env variable support#3443

Merged
sentrivana merged 10 commits intogetsentry:masterfrom
BYK:byk/feat/SENTRY_SPOTLIGHT
Aug 14, 2024
Merged

feat: Add SENTRY_SPOTLIGHT env variable support#3443
sentrivana merged 10 commits intogetsentry:masterfrom
BYK:byk/feat/SENTRY_SPOTLIGHT

Conversation

@BYK
Copy link
Copy Markdown
Member

@BYK BYK commented Aug 12, 2024

Allows setting Spotlight through $SENTRY_SPOTLIGHT env variable.

Part of getsentry/spotlight#482

Allows setting Spotlight through `$SENTRY_SPOTLIGHT` env variable.
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 13, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 79.73%. Comparing base (4858996) to head (bb67772).

Files Patch % Lines
sentry_sdk/client.py 50.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3443      +/-   ##
==========================================
- Coverage   79.80%   79.73%   -0.08%     
==========================================
  Files         134      134              
  Lines       14522    14530       +8     
  Branches     3056     3059       +3     
==========================================
- Hits        11589    11585       -4     
- Misses       2097     2112      +15     
+ Partials      836      833       -3     
Files Coverage Δ
sentry_sdk/client.py 79.25% <50.00%> (-0.56%) ⬇️

... and 2 files with indirect coverage changes

Copy link
Copy Markdown
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BYK Thanks for this! Can you please also add a test to https://github.com/getsentry/sentry-python/blob/master/tests/test_spotlight.py?

@BYK
Copy link
Copy Markdown
Member Author

BYK commented Aug 13, 2024

Will add tests and then will request a re-review.

@BYK
Copy link
Copy Markdown
Member Author

BYK commented Aug 13, 2024

Finally, ready for the final round

Copy link
Copy Markdown
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @BYK!

@sentrivana sentrivana enabled auto-merge (squash) August 14, 2024 08:11
@sentrivana sentrivana merged commit 269d96d into getsentry:master Aug 14, 2024
@BYK BYK deleted the byk/feat/SENTRY_SPOTLIGHT branch August 14, 2024 13:04
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
Allows setting Spotlight through `$SENTRY_SPOTLIGHT` env variable.

---------

Co-authored-by: Burak Yigit Kaya <bkaya21@bloomberg.net>
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