-
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
[pkg/stanza] Cache event publishers: log warn once per provider #27658
[pkg/stanza] Cache event publishers: log warn once per provider #27658
Conversation
@pjanotti, thanks for the work on this. You appear to have a lot more expertise than I on the details of WEL. Are you interested in being a code owner on this component? (I'm happy to stay on to help with general issues relating to |
@djaglowski, yes, I'm interested on that. I'm planning to focus on Windows related stuff in general. The package is pretty big and it will take some time for me to get used to it, but, let's get started. |
Thanks @pjanotti. Please submit a PR to add yourself as an owner. This PR looks good to me. I think we just need a changelog. |
**Description:** Adding myself as owner of `windowseventlogreceiver` per invite #27658 (comment) cc @djaglowski
…-telemetry#27658) **Description:** Cache the publisher event to: 1. Avoid logging the same error message every time one event from the given source is logged. 2. Avoid opening and closing the event publisher for every single event. **Link to tracking Issue:** [Item 4 described on the investigation](open-telemetry#21491 (comment)) for issue open-telemetry#21491. **Testing:** * Go tests for `pkg/stanza` and `receiver/windowseventlogreceiver` on Windows box. * Ran the contrib build locally to validate the change. * Can't run the full make locally: misspell is failing on Windows because the command line is too long. **Documentation:** Let me know if changing the severity of the log message requires a changelog update.
**Description:** Adding myself as owner of `windowseventlogreceiver` per invite open-telemetry#27658 (comment) cc @djaglowski
…-telemetry#27658) **Description:** Cache the publisher event to: 1. Avoid logging the same error message every time one event from the given source is logged. 2. Avoid opening and closing the event publisher for every single event. **Link to tracking Issue:** [Item 4 described on the investigation](open-telemetry#21491 (comment)) for issue open-telemetry#21491. **Testing:** * Go tests for `pkg/stanza` and `receiver/windowseventlogreceiver` on Windows box. * Ran the contrib build locally to validate the change. * Can't run the full make locally: misspell is failing on Windows because the command line is too long. **Documentation:** Let me know if changing the severity of the log message requires a changelog update.
**Description:** Adding myself as owner of `windowseventlogreceiver` per invite open-telemetry#27658 (comment) cc @djaglowski
Description:
Cache the publisher event to:
Link to tracking Issue:
Item 4 described on the investigation for issue #21491.
Testing:
pkg/stanza
andreceiver/windowseventlogreceiver
on Windows box.Documentation:
Let me know if changing the severity of the log message requires a changelog update.