Updated Prometheus and WMI CounterTypes (markdown)

Calle Pettersson
2016-09-03 16:55:46 +02:00
parent acbf73e72e
commit 9b4ac95567

@@ -48,3 +48,10 @@ This applies to WMI classes inheriting `Win32_PerfRawData`.
| `PERF_COUNTER_HISTOGRAM_TYPE` | ?? | No docs. | | `PERF_COUNTER_HISTOGRAM_TYPE` | ?? | No docs. |
To convert "PerfTime" units to seconds, divide by the result of `QueryPerformanceFrequency()`. To convert "PerfTime" units to seconds, divide by the result of `QueryPerformanceFrequency()`.
## Finding available counters
This Powershell line will output available WMI classes that are of type `Win32_PerfRawData`:
```powershell
Get-WmiObject -query "SELECT * FROM meta_class WHERE __this ISA 'Win32_PerfRawData'" |
Select-Object -ExpandProperty Name
```