[otap-df-otap] Restructure Syslog CEF Receiver config to scope settings per protocol#2064
Merged
drewrelmas merged 7 commits intoopen-telemetry:mainfrom Feb 19, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2064 +/- ##
==========================================
+ Coverage 86.96% 86.97% +0.01%
==========================================
Files 536 536
Lines 172511 172637 +126
==========================================
+ Hits 150020 150152 +132
+ Misses 21957 21951 -6
Partials 534 534
🚀 New features to boost your workflow:
|
drewrelmas
approved these changes
Feb 19, 2026
Contributor
drewrelmas
left a comment
There was a problem hiding this comment.
Approved - please take a quick look at the failing Clippy notice.
lalitb
reviewed
Feb 19, 2026
utpilla
commented
Feb 19, 2026
lalitb
reviewed
Feb 19, 2026
lalitb
approved these changes
Feb 19, 2026
Merged
via the queue into
open-telemetry:main
with commit Feb 19, 2026
6dfebcc
63 of 64 checks passed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change Summary
Restructures the Syslog CEF Receiver configuration so that endpoint and TLS settings are scoped under their respective protocol, rather than being flat top-level fields. This aligns with the OTLP Receiver's config pattern and makes the config model extensible for future protocol additions (e.g., Unix Domain Sockets).
Motivation
The previous config had listening_addr, protocol, and tls as sibling fields:
listening_addr(SocketAddr) wouldn't generalize to protocols which might be added in future such as Unix Domain Sockets that use a path insteadConfig change
Before
After
YAML example
Before
After
Key design decisions
protocol(singular): Reflects the one-protocol-per-instance constraint.TcpConfig: UDP'sdeny_unknown_fieldsrejects anytlsfield, enforcing the constraint structurally.How are these changes tested?
Added unit tests
Are there any user-facing changes?
Yes