-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Otlp] Add disk retry enablement #5527
Merged
CodeBlanch
merged 20 commits into
open-telemetry:main
from
vishweshbankwar:vibankwa/add-opt-in-persistentstorage
May 7, 2024
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
1f5a7a8
Add disk retry enablement
vishweshbankwar 8981aca
Merge branch 'main' into vibankwa/add-opt-in-persistentstorage
vishweshbankwar 82464dd
rename env var
vishweshbankwar 526e290
Merge branch 'main' into vibankwa/add-opt-in-persistentstorage
vishweshbankwar 97eaacc
refactory
vishweshbankwar 0e6734c
Merge branch 'main' into vibankwa/add-opt-in-persistentstorage
vishweshbankwar ee854f3
changelog + readme
vishweshbankwar 847d228
Merge branch 'vibankwa/add-opt-in-persistentstorage' of https://githu…
vishweshbankwar 3417006
update test
vishweshbankwar edf649e
revert test
vishweshbankwar 1371484
review
vishweshbankwar 634a2be
review
vishweshbankwar d41f14d
Merge branch 'main' into vibankwa/add-opt-in-persistentstorage
vishweshbankwar d4eab4d
changelog
vishweshbankwar 44b7bf0
Merge branch 'vibankwa/add-opt-in-persistentstorage' of https://githu…
vishweshbankwar 053d1bb
clean up
vishweshbankwar 2a42d1a
Merge branch 'main' into vibankwa/add-opt-in-persistentstorage
CodeBlanch a909b96
address feedback
vishweshbankwar 2d7ea62
Merge branch 'vibankwa/add-opt-in-persistentstorage' of https://githu…
vishweshbankwar 8922b5d
add debug.assert
vishweshbankwar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If an app is designed to run in a platform-independent environment and wants to use a temporary location, the restriction to set the environment variable
OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH
can make things complex. Should we write to the temporary path if this environment variable is not set? We could rely on .NET API to get temp pathPath.GetTempPath
. Customers will use OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY to enable offline storage anyway. We could explain the behavior in the documentation along with this environment variable.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. Its more simple for users who want minimal configuration for trying out this feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated