Skip to content

Commit

Permalink
Merge pull request #1 from alphagov/fix-prometheus-port
Browse files Browse the repository at this point in the history
Use standard Prometheus metrics port
  • Loading branch information
theseanything authored Oct 27, 2023
2 parents 6d57641 + 1ba3559 commit a4dcd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ func main() {
go updateMetrics(m, cfg)

http.Handle("/metrics", promhttp.HandlerFor(reg, promhttp.HandlerOpts{Registry: reg}))
checkError(http.ListenAndServe(":8000", nil), "Server error")
checkError(http.ListenAndServe(":9090", nil), "Server error")
}

0 comments on commit a4dcd7e

Please sign in to comment.