Skip to content

Commit

Permalink
extra debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Nov 24, 2016
1 parent 396a6ed commit 3215dd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ func (e *Exporter) scrape(scrapes chan<- scrapeResult) {

log.Debugf("Trying DialURL(): %s", addr)
if c, err = redis.DialURL(addr, options...); err != nil {
log.Debugf("DialURL() failed, err: %s", err)
frags := strings.Split(addr, "://")
if len(frags) == 2 {
log.Debugf("Trying: Dial(): %s %s", frags[0], frags[1])
Expand Down

0 comments on commit 3215dd2

Please sign in to comment.