From 1724b28d27ff99fda3143207d1b0a52fa3a70122 Mon Sep 17 00:00:00 2001 From: Lukas Coppens Date: Wed, 8 Mar 2023 13:23:07 +0100 Subject: [PATCH] feat: add support for cpu freq governor metrics Signed-off-by: Lukas Coppens --- collector/cpufreq_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/cpufreq_linux.go b/collector/cpufreq_linux.go index d3651e98..3372be1a 100644 --- a/collector/cpufreq_linux.go +++ b/collector/cpufreq_linux.go @@ -18,10 +18,10 @@ package collector import ( "fmt" - "github.com/go-kit/log" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/procfs/sysfs" + "strings" ) type cpuFreqCollector struct {