diff --git a/watcher_latency.go b/watcher_latency.go index 31e26245..1d720949 100644 --- a/watcher_latency.go +++ b/watcher_latency.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "strings" "github.com/prometheus/client_golang/prometheus" @@ -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) diff --git a/watcher_namespaces.go b/watcher_namespaces.go index 460a16ff..5e7e2140 100644 --- a/watcher_namespaces.go +++ b/watcher_namespaces.go @@ -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)