Sweep: Enable replaceTimestamp
by default
#145
Merged
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.
PR Feedback: 👍
Description
This pull request introduces changes to the
LokiTransport
configuration, specifically regarding thereplaceTimestamp
option. Due to recent updates in the upstream Loki project, it has become necessary to adjust how timestamps are handled to ensure logs are uploaded successfully. The changes made here aim to improve reliability and compatibility with the latest Loki project requirements.Summary
README.md
to reflect the new default behavior of thereplaceTimestamp
option, including a warning about potential upload issues if this feature is disabled. The documentation now emphasizes thatreplaceTimestamp
is enabled by default and recommends keeping it this way unless there's a specific reason for disabling it.index.js
to ensure thatreplaceTimestamp
is indeed enabled by default. The code change involves evaluating thereplaceTimestamp
option in a way that treats any value other thanfalse
astrue
, thereby enabling timestamp replacement by default.README.md
index.js
Fixes #106.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.