Add instructions on how to repair windows performance counters

This commit is contained in:
Daniel Nelson 2018-05-07 18:41:05 -07:00
parent 4c362f9b6c
commit b581805629
1 changed files with 13 additions and 0 deletions

View File

@ -334,3 +334,16 @@ if any of the combinations of ObjectName/Instances/Counters are invalid.
Measurement = "win_dotnet_security"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).
```
## Troubleshooting
If no metrics are emitted even with the default config, you may need to repair
your performance counters.
1. Launch Command Prompt as Administrator (right click Runs As Administrator).
1. Drop into the C:\WINDOWS\System32 directory by typing `C:` then `cd \Windows\System32`
1. Rebuild your counter values, which may take a few moments so please be
patient, by running:
```
lodctr /r
```