Skip to content
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][receiver/windowseventlog] Expose windowseventlogreceiver config on all platforms #29553

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Nov 29, 2023

Description:
Discovered via #29532 (comment). The receiver configuration is not the same between Windows and the other OSes. This is not the practice for other components and make hard to write utilities dealing with the configuration on multiple platforms.

The change moves some types to sources that are built for all OSes while preserving the behavior of the receiver.

Link to tracking Issue:
N/A

Testing:
Local Windows and Linux, plus CI on my fork.

Documentation:
N/A

@djaglowski
Copy link
Member

I'm not opposed to the change but would point out that we use this same pattern for journald receiver, which only is valid on linux. I think we should make the same changes there if we accept this PR.

@djaglowski djaglowski merged commit e1af9da into open-telemetry:main Nov 30, 2023
82 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 30, 2023
@pjanotti pjanotti deleted the expose-windowseventlogreceiver-config-on-all-platforms branch November 30, 2023 19:00
djaglowski pushed a commit that referenced this pull request Dec 12, 2023
…forms (#29754)

**Description:**
Follow-up to
[comment](#29553 (comment))
in #29553 that `journald` also had different configurations according to
the GOOS specified at build time.

The change moves some types to sources that are built for all OSes while
preserving the behavior of the receiver.

**Link to tracking Issue:**
N/A

**Testing:**
Added factory tests that validate create and shutdown on all platforms.

**Documentation:**
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants