PR #35896 introduced a bug in metricbeat perfmon module.
At
|
Error: fmt.Errorf("failed on query=%v: %w", counterPath, val.Err.Error), |
The previous use of errors.Wrap, would have kept this as a nil error if val.Err.Error was nil, the current code makes a non nil Error.
This leads to things like the following in events:
"error.message": [
"failed on query=\\\\SERVER01\\Processor(5)\\% DPC Time: %!w(<nil>)"
],
PR #35896 introduced a bug in metricbeat perfmon module.
At
beats/metricbeat/module/windows/perfmon/data.go
Line 72 in 0361e30
The previous use of errors.Wrap, would have kept this as a nil error if val.Err.Error was nil, the current code makes a non nil Error.
This leads to things like the following in events: