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.
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
chore: Rework the Datadog logs sink #8825
chore: Rework the Datadog logs sink #8825
Changes from 32 commits
dd8d0cf
615a432
0139ae9
7f61aa7
dc89755
9012d81
350880b
9738667
d23ca17
79c5dc6
8c51560
6b2929a
69e2cb6
be7926c
a8f37c1
6feb015
4929050
bb35df3
6cb8004
070dadc
3e4678f
562f6b9
945121f
bf73277
86ab2d6
a310307
2b02731
37dd968
53e170e
88f790f
731d9ab
8cb895a
0029dec
b0056ed
6cd60ba
f37fbcb
3561670
6368d90
0d55836
7c8dda0
7961f79
f8fa5d5
ed3ec1a
14d15ef
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
The
Ok(X?)
form here seems redundant. Can this be done without the?
?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.
The types don't line up properly. the
crate::Result
requires a boxed dynamic instance ofStdError + Send + Sync + 'static
and the client returns anhttp::HttpError
.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.
Yeah, then it becomes
HttpClient::new(tls_settings, proxy).map_err(Into::into)
. Tomayto, Tomahto.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.
What I'd really like to see -- and I think it's possible once we have our first pass over the sinks done -- is to make the error generic in the topology so we can drop the boxing.