Skip to content

Commit

Permalink
OM86
Browse files Browse the repository at this point in the history
 removed fmt.println
  • Loading branch information
mphanias committed Nov 29, 2023
1 parent aa4f155 commit cbe9369
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions watcher_latency.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"fmt"
"strings"

"github.com/prometheus/client_golang/prometheus"
Expand Down Expand Up @@ -152,7 +151,6 @@ func (lw *LatencyWatcher) getLatenciesCommands(rawMetrics map[string]string) []s
}

commands = append(commands, histCommand)
fmt.Println(" asinfo -h $1 -v ", histCommand)
}

log.Tracef("latency-passtwokeys:%s", commands)
Expand Down
2 changes: 0 additions & 2 deletions watcher_namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ func (nw *NamespaceWatcher) refreshNamespaceStats(singleInfoKey string, infoKeys
sindexType := stats[SINDEX_TYPE]
storageEngine := stats[STORAGE_ENGINE]

// fmt.Println(" storageEngine: ", storageEngine)

// if stat is index-type or sindex-type , append addl label
if strings.HasPrefix(deviceType, INDEX_TYPE) && len(indexType) > 0 {
labels = append(labels, METRIC_LABEL_INDEX)
Expand Down

0 comments on commit cbe9369

Please sign in to comment.