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

Remove redundant metric prefixes #12

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

roclark
Copy link
Contributor

@roclark roclark commented Apr 10, 2017

Originally, all metric names began with 'lustre_lustre_'. According to the documentation on BuildFQName, "BuildFQName joins the given three name components by '_'. Empty name components are ignored." Since all of the metrics in the lustre_exporter are in the 'lustre' namespace and a single subsystem, there is no reason to specify a subsystem. Fixes #11.

Signed-Off-By: Robert Clark robert.d.clark@hpe.com

Originally, all metric names began with 'lustre_lustre_'. According to the documentation on BuildFQName, "BuildFQName joins the given three name components by '_'. Empty name components are ignored." Since all of the metrics in the lustre_exporter are in the 'lustre' namespace and a single subsystem, there is no reason to specify a subsystem. Fixes HewlettPackard#11.

Signed-Off-By: Robert Clark <robert.d.clark@hpe.com>
@joehandzik
Copy link
Contributor

LGTM!

@joehandzik joehandzik merged commit 30bf1bf into HewlettPackard:master Apr 10, 2017
@roclark roclark deleted the simplify-metric-prefix branch May 3, 2017 19:37
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