Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: remove commented-out debug code #770

Merged
merged 1 commit into from
Oct 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion metrics/internal/lv/space_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down
1 change: 0 additions & 1 deletion metrics/teststat/buffers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down