-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix application_pool metricset reader after pdh changes #18477
Conversation
Pinging @elastic/integrations (Team:Integrations) |
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 but I left a comment for a follow up PR
re.log.Debugw("Ignoring the first measurement because the data isn't ready", | ||
"error", val.Err, logp.Namespace("website"), "query", counterPath) | ||
continue | ||
if val.Err.Error != nil { |
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.
AFAICS val.Err
and values
could also be nil
. Let's leave that change for a follow up PR
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.
values
can be nil but that would also return an error and the check above that will make sure to exit before , https://github.com/elastic/beats/blob/master/metricbeat/helper/windows/pdh/pdh_query_windows.go#L176.
val.Err
should not be nil also, it is instantiated here https://github.com/elastic/beats/blob/master/metricbeat/helper/windows/pdh/pdh_query_windows.go#L244
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
|
* fix * changelog * mage fmt update (cherry picked from commit e20f856)
* fix * changelog * mage fmt update (cherry picked from commit e20f856)
Jenkins pipeline is not executing the tests on Windows and OSX for some x-pack beats, so we cannot detect specific issues on these platforms, like the compilation error in Windows solved by #18477, that was introduced after a green build. Run x-pack Filebeat and Metricbeat builds and unit tests in Windows and OSX.
…c#18494) Jenkins pipeline is not executing the tests on Windows and OSX for some x-pack beats, so we cannot detect specific issues on these platforms, like the compilation error in Windows solved by elastic#18477, that was introduced after a green build. Run x-pack Filebeat and Metricbeat builds and unit tests in Windows and OSX. (cherry picked from commit 0419a4d)
…c#18494) Jenkins pipeline is not executing the tests on Windows and OSX for some x-pack beats, so we cannot detect specific issues on these platforms, like the compilation error in Windows solved by elastic#18477, that was introduced after a green build. Run x-pack Filebeat and Metricbeat builds and unit tests in Windows and OSX. (cherry picked from commit 0419a4d)
#18583) Jenkins pipeline is not executing the tests on Windows and OSX for some x-pack beats, so we cannot detect specific issues on these platforms, like the compilation error in Windows solved by #18477, that was introduced after a green build. Run x-pack Filebeat and Metricbeat builds and unit tests in Windows and OSX. (cherry picked from commit 0419a4d)
#18584) Jenkins pipeline is not executing the tests on Windows and OSX for some x-pack beats, so we cannot detect specific issues on these platforms, like the compilation error in Windows solved by #18477, that was introduced after a green build. Run x-pack Filebeat and Metricbeat builds and unit tests in Windows and OSX. (cherry picked from commit 0419a4d)
What does this PR do?
Fixes tests and implementation in the iis/application_pool after pdh changes
Why is it important?
successful build
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.