Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Windows perfcounters for non-English systems
The `ValidatePath` syscall only operates in a localized language mode, however `AddEnglishCounter` always works with English-localized counter names. This means that on non-English systems, the counter will work but will fail validation. The only solution is to not validate the counter. There is no corresponding `ValidateEnglishPath` syscall. `CollectQueryData` will still error if the counter is invalid. Reference: influxdata/telegraf#2261
- Loading branch information