Repository navigation
Remove default_span_processor parameter from configure - #400
Merged
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #400 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 128 128
Lines 9314 9353 +39
Branches 1209 1217 +8
=========================================
+ Hits 9314 9353 +39 ☔ View full report in Codecov by Sentry. |
adriangb
approved these changes
Aug 26, 2024
Deploying logfire-docs with
|
| Latest commit: |
c75edf9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3f157a70.logfire-docs.pages.dev |
| Branch Preview URL: | https://alex-default-span-processor.logfire-docs.pages.dev |
default_span_processor parameter from configuredefault_span_processor parameter from configure
alexmojaki
enabled auto-merge (squash)
August 26, 2024 13:02
default_span_processor parameter from configuredefault_span_processor parameter from configure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
default_span_processoris a weird parameter that mostly just adds bloat to the API docs and it makes it harder to reason about how the SDK behaves for users and make changes in the future. There's some desire to replace theBatchSpanProcessorand other layers with our own processor that handles batching etc. more intelligently (#263 (comment), #252 (review)) and more specifically we've talked about dynamically tweaking the batching delay based on things like the sizes of previous batches.The parameter isn't doing much harm right now, but we want to release a stable v1 of the SDK soon, so best to make this breaking change now. We could maybe add a deprecation warning, but it wouldn't last very long, and chances are no one apart from us is using this.