Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
changed title
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadeem Jamali committed Apr 15, 2020
1 parent 5765bcf commit 72d4d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
scheduler.Every(interval).Minutes().Do(startMonitoring, errChanel)
scheduler.Start()

fmt.Println(fmt.Sprintf("metrics server listening at port %v with monitoring interval of %v minute(s).", httpServer.Addr, interval))
fmt.Println(fmt.Sprintf("Metrics server listening at port %v with monitoring interval of %v minute(s).", httpServer.Addr, interval))

keepRunningOnError, _ := strconv.ParseBool(keepRunningOnErrorStr)
if keepRunningOnError {
Expand Down Expand Up @@ -90,9 +90,9 @@ func setupMetricsServer() (*http.Server, error) {
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`
<html>
<head><title>SQS Exporter</title></head>
<head><title>SQS Prometheus Exporter</title></head>
<body>
<h1>SQS Exporter</h1>
<h1>SQS Prometheus Exporter</h1>
<p><a href='`+*metricsPath+`'>Metrics</a></p>
</body>
</html>`))
Expand Down

0 comments on commit 72d4d13

Please sign in to comment.