diff --git a/plugins/inputs/win_perf_counters/win_perf_counters.go b/plugins/inputs/win_perf_counters/win_perf_counters.go index 5f430124e..7a6fc06ac 100644 --- a/plugins/inputs/win_perf_counters/win_perf_counters.go +++ b/plugins/inputs/win_perf_counters/win_perf_counters.go @@ -576,6 +576,7 @@ func isKnownCounterDataError(err error) bool { pdhErr.ErrorCode == PdhCalcNegativeDenominator || pdhErr.ErrorCode == PdhCalcNegativeValue || pdhErr.ErrorCode == PdhCstatusInvalidData || + pdhErr.ErrorCode == PdhCstatusNoInstance || pdhErr.ErrorCode == PdhNoData) { return true }