mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-13 00:16:37 +00:00
feat: add perfcounter.engine CLI option as alternative to WINDOWS_EXPORTER_PERF_COUNTERS_ENGINE env (#1723)
This commit is contained in:
7
internal/toggle/main.go
Normal file
7
internal/toggle/main.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package toggle
|
||||
|
||||
var PHDEnabled bool
|
||||
|
||||
func IsPDHEnabled() bool {
|
||||
return PHDEnabled
|
||||
}
|
||||
Reference in New Issue
Block a user