Metrics for IO errors on Mac. (#1636)
* Metrics for IO errors and retries on Mac. Signed-off-by: Tom Wilkie <tom@grafana.com>
This commit is contained in:
parent
48bb6f670c
commit
6496c24d61
10 changed files with 80 additions and 4 deletions
4
vendor/github.com/lufia/iostat/iostat_darwin.c
generated
vendored
4
vendor/github.com/lufia/iostat/iostat_darwin.c
generated
vendored
|
|
@ -95,6 +95,10 @@ static struct {
|
|||
{kIOBlockStorageDriverStatisticsTotalWriteTimeKey, offsetof(DriveStats, writetime)},
|
||||
{kIOBlockStorageDriverStatisticsLatentReadTimeKey, offsetof(DriveStats, readlat)},
|
||||
{kIOBlockStorageDriverStatisticsLatentWriteTimeKey, offsetof(DriveStats, writelat)},
|
||||
{kIOBlockStorageDriverStatisticsReadErrorsKey, offsetof(DriveStats, readerrs)},
|
||||
{kIOBlockStorageDriverStatisticsWriteErrorsKey, offsetof(DriveStats, writeerrs)},
|
||||
{kIOBlockStorageDriverStatisticsReadRetriesKey, offsetof(DriveStats, readretries)},
|
||||
{kIOBlockStorageDriverStatisticsWriteRetriesKey, offsetof(DriveStats, writeretries)},
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue