Skip to content

Commit

Permalink
adapt root handler
Browse files Browse the repository at this point in the history
  • Loading branch information
ulranh committed Sep 17, 2020
1 parent 67db7c2 commit d0e92ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (config *Config) web(flags map[string]*string) error {
}

func rootHandler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "prometheus hana_sql_exporter")
fmt.Fprintf(w, "prometheus hana_sql_exporter: please call <host>:<port>/metrics")
}

// collecting all metrics and fetch the results
Expand Down

0 comments on commit d0e92ef

Please sign in to comment.