Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zfs: Log mib when sysctl read fails on FreeBSD
When the zfs collector fails on FreeBSD it doesn't log which `mib` triggered the issue. This makes diagnostics hard. Incompatibilities in the list of supported mibs is not uncommon with major os updates. By adding this change, it'll be easier for users to report the specific mib that is triggering the failure. Related to prometheus#2847 Signed-off-by: Daniel Kimsey <[email protected]> Signed-off-by: Vitaly Zhuravlev <[email protected]>
- Loading branch information