mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-02-17 16:31:46 +01:00
Remove debug output
This commit is contained in:
@@ -71,7 +71,7 @@ func (m *BeegfsStorageCollector) Init(config json.RawMessage) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
println(m.config.Beegfs)
|
|
||||||
//create map with possible variables
|
//create map with possible variables
|
||||||
m.matches = make(map[string]string)
|
m.matches = make(map[string]string)
|
||||||
for _, value := range storageStat_array {
|
for _, value := range storageStat_array {
|
||||||
@@ -179,7 +179,6 @@ func (m *BeegfsStorageCollector) Read(interval time.Duration, output chan lp.CCM
|
|||||||
|
|
||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
readLine := scanner.Text()
|
readLine := scanner.Text()
|
||||||
//fmt.Println(readLine)
|
|
||||||
// Jump few lines, we only want the I/O stats from nodes
|
// Jump few lines, we only want the I/O stats from nodes
|
||||||
if !sumLine.MatchString(readLine) {
|
if !sumLine.MatchString(readLine) {
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user