Open
Description
Describe the feature would like to see added to OpenZFS
zpool status
prints a line to this effect:
errors: Permanent errors have been detected in the following files:
pool/ds/ds/file:<0x0>
or
errors: No known data errors
The equivalent metric is not published in zpool_influxdb
.
How will this feature improve OpenZFS?
Monitoring and tracking systems can follow this metric. Granted this can also be done on zed, but this seems like a pretty big omission.
Additional context
Looks like we're missing querying the ZPOOL_CONFIG_ERRCOUNT
tuple? I don't know if it should be used in the zpool_stats measurement because those report per-vdev metrics.