-
Notifications
You must be signed in to change notification settings - Fork 498
Windows exporter integration #475
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
Windows exporter integration #475
Conversation
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.
Looking good! I wanted to give this a review before I take some PTO.
rfratto
left a comment
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.
This is really coming along well, thank you for putting effort into this. I'm not super happy about reflection, and I'm worried its cognitive cost is too high compared to keeping the lines of code smaller.
… current valid value.
… current valid value.
Change to explicit setting of map
rfratto
left a comment
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.
LGTM, though this needs to be rebased to pick up the latest changes to the integrations interface, otherwise it's going to fail to build after merging.
Co-authored-by: Robert Fratto <robertfratto@gmail.com>
…to windows_exporter_integration
* Testing * Windows Exporter support * Add untracked files * Checkin example converting to custom config * Scary reflect for getting the values * Smaller item feedback in PR * Add linting exception * Update the changelog * Fix MSSQL config * Reorder functions and fix comments. * Clean up var names * Change to explicit setting of map * minor formatting * Switch to explicit mapping * Add some checks on sync * Use far simpler method, under the assumption an empty string is not a current valid value. * Use far simpler method, under the assumption an empty string is not a current valid value. * Add vendor files * Add build tags so windows specific items dont get included * Fix linting error * Fix linting error * Fix linting error * Fix linting error * Fix linting error * Update CHANGELOG.md Co-authored-by: Robert Fratto <robertfratto@gmail.com> * PR feedback of cleaning vars * Rearranging files for non windows usage. * Cross platform support * Cross platform support * Add beta verbiage Co-authored-by: Robert Fratto <robertfratto@gmail.com>
PR Description
This add windows_exporter to the list of default exporters for the windows platform. This currently uses a fork of windows_exporter located at github.com/grafana/windows_exporter. It uses the same type of configuration has the normal windows_exporter.
Which issue(s) this PR fixes
Closes #285
Notes to the Reviewer
PR Checklist