mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-02 08:36:36 +00:00
performancecounter: Add the possibility to request formatted values (#1830)
This commit is contained in:
@@ -56,7 +56,7 @@ type processFull struct {
|
||||
}
|
||||
|
||||
func BenchmarkTestCollector(b *testing.B) {
|
||||
performanceData, err := pdh.NewCollector[processFull]("Process", []string{"*"})
|
||||
performanceData, err := pdh.NewCollector[processFull](pdh.CounterTypeRaw, "Process", []string{"*"})
|
||||
require.NoError(b, err)
|
||||
|
||||
var data []processFull
|
||||
|
||||
Reference in New Issue
Block a user