Skip to content

Conversation

@srebhan
Copy link
Member

@srebhan srebhan commented May 6, 2024

Summary

This PR allows to invoke WMI methods similar to the Invoke-Method command. This way it is possible to e.g. extract registry keys and create a metric from the returned value(s).

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #14653

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels May 6, 2024
@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label May 8, 2024
@srebhan srebhan assigned powersj and mstrandboge and unassigned srebhan May 8, 2024
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That execute function is mighty... how on earth did you figure it out?

Two questions in line

srebhan and others added 2 commits May 10, 2024 11:06
@srebhan srebhan requested a review from powersj May 10, 2024 15:36
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last two commits look good, thanks!

@powersj powersj removed their assignment May 10, 2024
@telegraf-tiger
Copy link
Contributor

@mstrandboge mstrandboge merged commit e7703ae into influxdata:master May 10, 2024
@github-actions github-actions bot added this to the v1.31.0 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

3 participants