Skip to content

Commit

Permalink
Use standard Prometheus metrics port
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanything committed Oct 27, 2023
1 parent 6d57641 commit 1ba3559
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 1ba3559

Please sign in to comment.