Skip to content

Commit

Permalink
Merge pull request cloudflare#607 from cloudflare/debug
Browse files Browse the repository at this point in the history
Remove noisy debug log
  • Loading branch information
prymitive authored Apr 19, 2023
2 parents 374068e + f28ac35 commit 948facf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/promapi/range_normalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import (

"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/model/labels"
"github.com/rs/zerolog/log"

"github.com/cloudflare/pint/internal/output"
)

func labelValue(ls labels.Labels, name string) (string, bool) {
Expand Down Expand Up @@ -286,13 +283,6 @@ func MergeRanges(source MetricTimeRanges, step time.Duration) (MetricTimeRanges,
}
sort.Stable(all)

log.Debug().
Bool("merged", hadMerged).
Stringer("source", source).
Str("step", output.HumanizeDuration(step)).
Stringer("merged", all).
Msg("Merged time ranges")

return all, hadMerged
}

Expand Down

0 comments on commit 948facf

Please sign in to comment.