Add domain state to kvm module#17673
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
💚 CLA has been signed |
|
Hi I hope this is useful for others. This is my first patch for metricbeat so please let me know if there's anything I'm missing Thanks! |
d1a6dbf to
e1759fa
Compare
|
Pinging @elastic/integrations-services (Team:Services) |
jsoriano
left a comment
There was a problem hiding this comment.
Thanks for this change! I have added some small suggestions. You will also need to run mage update from the metricbeat directory and commit the changes, this will be needed to pass tests in CI.
|
Hi @jsoriano thanks for the review. I have added your suggestions to the change set and done the mage update too. Would you like me to squash these into one commit and push again? Thanks again - looking forward to adding more :-) |
|
There is still something failing in CI, you will need to run |
|
Hey @tomdoherty you were fast 🙂 The last changes in the fields file will probably require another |
|
Thanks @jsoriano! All pushed :-) |
Signed-off-by: Tom Doherty <tom@singlesecond.com>
0ccb370 to
1a65a86
Compare
|
ok to test |
|
jenkins, test this please |
|
jenkins run the tests please |
This allows tracking KVM transitions of state and consolidate resource usage with machine state. Signed-off-by: Tom Doherty <tom@singlesecond.com> (cherry picked from commit ed7fa2a)
…unbld * upstream/master: ci: comment PRs with the build status (elastic#17971) Add domain state metricset to kvm module (elastic#17673) [Agent] Allow CLI paths override (elastic#17781) Fix generated metricbeat so create-metricset works. (elastic#18020) LIBBEAT: Enhancement replace_string processor for replacing strings values of fields. (elastic#17342) Update stale references to _xpack to refer to _license instead (elastic#18030) Review dependency patterns collection in Jenkins (elastic#18004)
This allows tracking KVM transitions of state and consolidate resource usage with machine state. Signed-off-by: Tom Doherty <tom@singlesecond.com> (cherry picked from commit ed7fa2a) Co-authored-by: tomdoherty <31742246+tomdoherty@users.noreply.github.com>
Signed-off-by: Tom Doherty tom@singlesecond.com
What does this PR do?
This change add's the domain state to the kvm metricbeat module.
Why is it important?
This allows tracking KVM transitions and consolidate resource usage with machine state
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Author's Checklist
N/A
How to test this PR locally
I run this using
sudo ./metricbeat test modulesRelated issues
N/A
Use cases
Allows marrying resource and machine state metrics
Allows monitoring of KVM crashes or events via elastalert
Screenshots
N/A
Logs
N/A