-
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
[Metricbeat] Add a linux module for platform-specific metrics in linux. #17267
[Metricbeat] Add a linux module for platform-specific metrics in linux. #17267
Conversation
Pinging @elastic/integrations (Team:Integrations) |
💔 Build FailedExpand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
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.
…x. (elastic#17267) * init commit of linux module * init commit of conntrack metricset * code cleanup * update notice * run go vendor * make update * first draft of pef mertricset * first pass of linux/perf * update and merge * add build tags, disable tests * remove system-dependent tests * code cleanup * more code cleanup * fix docs, revert hostfs change * fmt, update * update with new upstream changes * code cleanup, work on PID checks * remove perf, revert to 3 metricsets * update notice * update config * mage update * fix formatting, comments * code cleanup (cherry picked from commit d59b149)
…rm-specific metrics in linux. (#18246) * [Metricbeat] Add a linux module for platform-specific metrics in linux. (#17267) * init commit of linux module * init commit of conntrack metricset * code cleanup * update notice * run go vendor * make update * first draft of pef mertricset * first pass of linux/perf * update and merge * add build tags, disable tests * remove system-dependent tests * code cleanup * more code cleanup * fix docs, revert hostfs change * fmt, update * update with new upstream changes * code cleanup, work on PID checks * remove perf, revert to 3 metricsets * update notice * update config * mage update * fix formatting, comments * code cleanup (cherry picked from commit d59b149) * mage fmt update
What does this PR do?
This PR is an attempt to avoid cluttering the
system
module with metricsets that are not broadly cross-compatible. Instead, this introduces alinux
module that contains metrics exclusive to the linux kernel and various subsystems. This is a draft PR that currently includes two metricsets:pageinfo
which collects metrics on the buddy paging algorithm, which can be used to determine memory fragmentation. The other isksm
, which tracks the efficacy of kernel samepage merging. This is currently a draft, as it's already quite large and I'd rather have something to show while I continue work.Why is it important?
This module adds valueable OS-level metrics in line with similar solutions.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
ksm
will report no data unless a running application is making use of the KSM interface.