Skip to content

Commit

Permalink
Remove some Debug Output
Browse files Browse the repository at this point in the history
  • Loading branch information
mungo312 committed Jan 28, 2020
1 parent dc474de commit b469045
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/postgres_exporter/postgres_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1496,9 +1496,7 @@ func (e *Exporter) scrape(ch chan<- prometheus.Metric) {
func (e *Exporter) discoverDatabaseDSNs() []string {
dsns := make(map[string]struct{})
for _, dsn := range e.dsn {
log.Debugln("DSN before parse: ", dsn)
parsedDSN, err := pq.ParseURL(dsn)
log.Debugln("DSN after parse: ", parsedDSN)
if err != nil {
parsedDSN = dsn
}
Expand Down

0 comments on commit b469045

Please sign in to comment.