Skip to content

Support 'if-token-present' for env var 'LOGFIRE_SEND_TO_LOGFIRE' - #488

Merged
alexmojaki merged 9 commits into
mainfrom
if-token-present-env-allowed
Oct 11, 2024
Merged

alexmojaki merged 9 commits into
mainfrom
if-token-present-env-allowed

Conversation

@sydney-runkle

@sydney-runkle sydney-runkle commented Oct 9, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #441

Working on adding a test to fix coverage at the moment.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 9, 2024 •

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 126cdd7
Status: ✅  Deploy successful!
Preview URL: https://8d8b6495.logfire-docs.pages.dev
Branch Preview URL: https://if-token-present-env-allowed.logfire-docs.pages.dev

View logs

@sydney-runkle sydney-runkle changed the title WIP: Support 'if-token-present' for env var 'LOGFIRE_SEND_TO_LOGFIRE' Support 'if-token-present' for env var 'LOGFIRE_SEND_TO_LOGFIRE' Oct 9, 2024
@sydney-runkle
sydney-runkle marked this pull request as ready for review October 9, 2024 18:39
@codecov

codecov Bot commented Oct 9, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (450298f) to head (126cdd7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #488   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          132       132           
  Lines         9945      9959   +14     
  Branches      1333      1338    +5     
=========================================
+ Hits          9945      9959   +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread CONTRIBUTING.md Resolved
Comment thread logfire/_internal/config_params.py Resolved
Comment thread tests/test_configure.py Resolved
Comment thread tests/test_configure.py Resolved
sydney-runkle and others added 2 commits October 10, 2024 11:42
Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
@sydney-runkle

Copy link
Copy Markdown
Contributor Author

@alexmojaki, anything else you'd like here?

@alexmojaki
alexmojaki enabled auto-merge (squash) October 11, 2024 08:56
@alexmojaki

Copy link
Copy Markdown
Contributor

Thanks!

@alexmojaki
alexmojaki merged commit aa65f2d into main Oct 11, 2024
@alexmojaki
alexmojaki deleted the if-token-present-env-allowed branch October 11, 2024 08:59
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.

LOGFIRE_SEND_TO_LOGFIRE env var doesn't accept if-token-present as a value

3 participants