https://bugs.winehq.org/show_bug.cgi?id=55053
Bug ID: 55053 Summary: Prometheus exporter for Windows needs DISPATCH_PROPERTYGET support in object_Invoke Product: Wine Version: 8.10 Hardware: x86-64 URL: https://github.com/prometheus-community/windows_export er/releases/download/v0.22.0/windows_exporter-0.22.0-a md64.exe OS: Linux Status: NEW Keywords: download, patch, source Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ---
Created attachment 74615 --> https://bugs.winehq.org/attachment.cgi?id=74615 hack
To test this:
1) Run windows_exporter-0.22.0-amd64.exe 2) Go to http://localhost:9182/ in your browser 3) Press the 'Metrics' button 4) An error page is shown
When pressing the 'Metrics' button, this fixme is spammed:
0188:fixme:wbemdisp:object_Invoke flags 0x2 not supported
This stems from the fact that wbemdisp:object_Invoke doesn't support DISPATCH_PROPERTYGET on its own. The attached hack "fixes" the issue and instead of the error page, you get a page with metrics.
Source of the program can be found here: https://github.com/prometheus-community/windows_exporter