-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/awscloudwatchlogsexporter] Improve performance of the awscloudwatchlogs exporter #26692
Merged
codeboten
merged 29 commits into
open-telemetry:main
from
rapphil:rapphil-parallel-awscloudwatchlogsexporter
Oct 11, 2023
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
406ce61
Chore: Rename PusherKey to StreamKey
rapphil 7ee35f6
Chore: Move StreamKey inside event
rapphil 1e55b06
Chore: Refactor to properly initialize the event
rapphil 7d4c305
Feat: Add cwlogs Pusher able to send events to multiple streams
rapphil 10b4638
Feat: use MultiStream pusher in awscloudwatchlogsexporter
rapphil 8b3e0f4
Feat: Add support to consumers in cloudwatchlogs
rapphil 1d9e0e2
Feat: Remove locks from cloudwatch logs pusher
rapphil eb38388
Feat: Remove throttling limiter
rapphil 069f471
Feat: Stop using sequence token
rapphil 51ddd00
Feat: Send log events directly to the Pusher
rapphil 034b8ca
chore: Update readme
rapphil fb01288
Chore: update changelog
rapphil d189d48
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil caf1be6
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil 0b4dbea
Chore: fix wrong dependency
rapphil 86e2c38
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil bd7d4a1
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil c9f98b1
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil e6383ab
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil ccd669c
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil 8f183e2
Update internal/aws/cwlogs/pusher.go
rapphil fb93d1b
Use queue validation from exporterhelper
rapphil 698e581
Simplify error handling and avoid uncessary code
rapphil 0cc848c
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil eb608f6
Chore: Refactor pusher and cwlog_client to not use stream token
rapphil 0489473
Chore: minor refactoring
rapphil f20ffae
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil dec0f2d
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil c799e53
Merge branch 'main' into rapphil-parallel-awscloudwatchlogsexporter
rapphil 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
# If your change doesn't affect end users, such as a test fix or a tooling change, | ||
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: 'enhancement' | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: awscloudwatchlogsexporter | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: "Improve the performance of the awscloudwatchlogsexporter" | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
issues: [26692] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
Improve the performance by adding support to multiple consumers and removing locks and limiters that are no longer | ||
necessary. |
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
Oops, something went wrong.
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.
maybe breaking is ok? since the config is changed.
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.
I'm not sure if it is considered breaking in this case. The config is extended but the default behavior stays the same. @rapphil can you confirm this statement?
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.
That is correct, we are extending the configuration and keeping the previous behaviour unchanged. That is why I don't consider this a breaking change.