Skip to content
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

Lustre2 plugin #86

Merged
merged 6 commits into from
Aug 4, 2015
Merged

Lustre2 plugin #86

merged 6 commits into from
Aug 4, 2015

Conversation

srfraser
Copy link
Contributor

@srfraser srfraser commented Aug 4, 2015

Lustre is a high performance cluster filesystem (http://lustre.org), used in HPC environments. Usefully, it makes data available in /proc, so here is a plugin to read those /proc files.

Lustre 2.x stores them in a different location to Lustre 1.x, hence the versioned plugin information. The configuration file allows those locations to be overridden for future proofing, and to make testing easier.

One modification that may be necessary until cross-measurement mathematics is enabled is to store read_bytes and read_calls (and write_*) in the same measurement to get mean bytes per call metrics.

The configuration allows users to override the /proc/ files
scanned for data, since that has been known to change with lustre
versions.
@srfraser
Copy link
Contributor Author

srfraser commented Aug 4, 2015

Oh, one other remark: it uses ReadLines from system/ps/common/, to avoid code duplication. I'm unsure if that would be considered safe behaviour. It's tempting to move those common plugin utilities up a level for use across all plugins.

@sparrc
Copy link
Contributor

sparrc commented Aug 4, 2015

Thanks for the contribution! Don't worry about the ReadLines piece, I will be refactoring all of that code to just use the external gopsutil library anyways

@sparrc
Copy link
Contributor

sparrc commented Aug 4, 2015

@srfraser I can merge this once you've fixed the branch conflicts

@srfraser
Copy link
Contributor Author

srfraser commented Aug 4, 2015

@sparrc Done - thank you!

sparrc added a commit that referenced this pull request Aug 4, 2015
@sparrc sparrc merged commit c660ff8 into influxdata:master Aug 4, 2015
srfraser pushed a commit to srfraser/telegraf that referenced this pull request Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants