Enable NFS client metrics by default. (#828)

Enable NFS client metrics by default now that it nolonger prints errors
on scrape if there are no metrics to display.

Also fixup the nfsd README to match the nfs entry.
This commit is contained in:
Ben Kochie 2018-02-16 15:42:47 +01:00 committed by GitHub
commit 6468e7c80b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ type nfsCollector struct {
}
func init() {
registerCollector("nfs", defaultDisabled, NewNfsCollector)
registerCollector("nfs", defaultEnabled, NewNfsCollector)
}
// NewNfsCollector returns a new Collector exposing NFS statistics.