feat: add support for cpu freq governor metrics

Signed-off-by: Lukas Coppens <lukas.coppens@be-mobile.com>
This commit is contained in:
Lukas Coppens 2023-03-08 13:23:07 +01:00 committed by Johannes 'fish' Ziemke
parent fe19fdd1e8
commit 1724b28d27

View file

@ -18,10 +18,10 @@ package collector
import ( import (
"fmt" "fmt"
"github.com/go-kit/log" "github.com/go-kit/log"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/procfs/sysfs" "github.com/prometheus/procfs/sysfs"
"strings"
) )
type cpuFreqCollector struct { type cpuFreqCollector struct {