-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[exporter/datadog] Refactor Datadog Exporter to use logs agent exporter #32327
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
Merged
mx-psi
merged 69 commits into
open-telemetry:main
from
liustanley:stanley.liu/logsagentexporter
May 6, 2024
Merged
Changes from 46 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
bf2f37b
Add logsagentexporter and implementation of logs agent init
liustanley 1c94ca9
Address PR comments
liustanley 4aa0290
Edit go modules
liustanley 1eca1a7
Edit go modules
liustanley 4d9c020
Update go modules
liustanley 3d8b883
Add config options for compression
liustanley 522e400
Add logs agent config
liustanley a39bd8a
Add tests
liustanley ee00145
Add new logs config options in collector.yaml
liustanley 68fec8b
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley fc53dc5
go mod tidy
liustanley 72d2f55
Fix tests
liustanley ba8b385
Update go version and datadog-agent commit
liustanley ca2bb09
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley a20ea1a
make gotidy
liustanley 2a7a388
Add tests
liustanley a097514
go mod tidy
liustanley 9c3b51b
make goporto
liustanley c545a49
Fix test data race
liustanley 28682fb
Fix lint
liustanley 1c170c1
go mod tidy
liustanley 5b7a344
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley 651d789
go mod tidy
liustanley 58aeea4
Fix datadog-api-client-go version
liustanley 1e3f45f
Fix datadog-api-client-go version
liustanley 83ec28f
Move logsagent files to new directory
liustanley f557abc
Change to if else to switch
liustanley 14bd647
Sync datadog-agent module versions
liustanley 4d72a74
Remove PeerServiceAggregation
liustanley 80df01a
Change build endpoints
liustanley 13e6371
Add changelog
liustanley b7a6817
go mod tidy
liustanley 0a316fe
Revert makefile
liustanley f8645b5
Move logs agent code to datadog-agent
liustanley 8912a02
Update dependencies and PR feedback
liustanley 68cce51
PR feedback
liustanley c193163
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley 97e8e29
go mod tidy
liustanley ecfbd78
go mod tidy
liustanley 5a73215
Fix tests
liustanley 31f348a
New changelog
liustanley b3e53fe
Move code to logs_exporter.go
liustanley 968e0c1
PR feedback
liustanley 456cd70
PR feedback
liustanley e9dbc2f
Fix tests
liustanley 81f86c2
Fix tests
liustanley 6990a5a
Add retry on network error test
liustanley 8ebafb4
Change go version
liustanley cc9c8b2
Change trace agent version
liustanley 2334d67
PR feedback
liustanley 3f6edd8
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley cc3230e
go mod tidy
liustanley 49427ac
Fix config override
liustanley 11ec80f
Change config
liustanley 23624fb
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley f7cd734
go mod tidy
liustanley 9ddefe5
Revert peer service aggregation changes
liustanley 6c8695b
Merge branch 'main' into stanley.liu/logsagentexporter
liustanley 379fb38
go mod tidy
liustanley d3b95d1
PR feedback
liustanley b68cda9
Fix tests
liustanley 3603277
Fix tests
liustanley e209761
Fix lint
liustanley c098248
Apply suggestions from code review
liustanley bb612e0
PR feedback
liustanley 8df5497
PR feedback
liustanley 1db4d1a
Remove hostname service err
liustanley 815a763
Fix config error
liustanley 8477f0b
One last module update
liustanley 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
|
||
# 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: exporter/datadog | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Introduces the logs agent exporter for exporting logs to Datadog under the "exporter.datadogexporter.logsagentexporter" feature flag. | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
issues: [32327] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: breaking | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: exporter/datadog | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Removes the PeerServiceAggregation config option which was previously deprecated. Please use PeerTagsAggregation instead. | ||
liustanley marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
issues: [32327] |
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
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.
Uh oh!
There was an error while loading. Please reload this page.