-
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
Add improved config/event output options to windows/perfmon metricset #17596
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.
This is looking good! I will take another look if there are changes for dedotting nested fields.
# - name: 'Disk Writes/sec' | ||
# field: physical_disk.write.per_sec | ||
# format: "float" | ||
# - name: "% Disk Write Time" |
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.
Align commented out code as before?
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.
Thanks for the changes! Some additional suggestions on them.
perfmon.queries: | ||
# - object: 'Process' | ||
# instance: ["*"] | ||
# counters: | ||
# - name: 'Disk Writes/sec' | ||
# field: physical_disk.write.per_sec | ||
# format: "float" | ||
# - name: "% Disk Write Time" |
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.
Nit. Align the comment marks with the previous block:
perfmon.queries: | |
# - object: 'Process' | |
# instance: ["*"] | |
# counters: | |
# - name: 'Disk Writes/sec' | |
# field: physical_disk.write.per_sec | |
# format: "float" | |
# - name: "% Disk Write Time" | |
perfmon.queries: | |
#- object: 'Process' | |
# instance: ["*"] | |
# counters: | |
# - name: 'Disk Writes/sec' | |
# field: physical_disk.write.per_sec | |
# format: "float" | |
# - name: "% Disk Write Time" |
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.
Thanks! Great enhancement!
…elastic#17596) * config * work on perfmon * progress * work on perf * Create tests * work on documentation * fix test * changelog * work on webserver * fix test * add test * validate * dynamic mapping * init format * work on test (cherry picked from commit 1a50329)
What does this PR do?
Works on improving the config, the new config is less repetitive and terser and will get a better overview of the configuration:
output wise, we offer some consistency with the other metricsets (example of event with the new format):
POC contains the following:
object
value, if not entered it will beobject
instance
value, it will beinstance
manifest.yml
file on how the light metricsets will have to adapt to the setupChecklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues
TO DO
manifest.yml
for theiis/webserver
light metricset as well