diff --git a/metrics/internal/lv/space_test.go b/metrics/internal/lv/space_test.go index 0ef551701..0cdc4fa65 100644 --- a/metrics/internal/lv/space_test.go +++ b/metrics/internal/lv/space_test.go @@ -40,7 +40,6 @@ func TestSpaceWalkSums(t *testing.T) { have := map[string]float64{} s.Walk(func(name string, lvs LabelValues, obs []float64) bool { - //t.Logf("%s %v => %v", name, lvs, obs) have[name+" ["+strings.Join(lvs, "")+"]"] += sum(obs) return true }) diff --git a/metrics/teststat/buffers.go b/metrics/teststat/buffers.go index e38b16c24..d04c52cfe 100644 --- a/metrics/teststat/buffers.go +++ b/metrics/teststat/buffers.go @@ -47,7 +47,6 @@ func stats(w io.WriterTo, regex string, h *generic.Histogram) (sum, final float6 re := regexp.MustCompile(regex) buf := &bytes.Buffer{} w.WriteTo(buf) - //fmt.Fprintf(os.Stderr, "%s\n", buf.String()) s := bufio.NewScanner(buf) for s.Scan() { match := re.FindStringSubmatch(s.Text())