Skip to content

Commit

Permalink
prom works
Browse files Browse the repository at this point in the history
  • Loading branch information
kmulvey committed Sep 9, 2022
1 parent bafd628 commit aa4a99f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/nsquared/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ func main() {
go func() {
http.Handle("/metrics", promhttp.Handler())
s := &http.Server{
Addr: ":5000",
// Handler: promhttp.Handler(),
Addr: ":5000",
ReadTimeout: 10 * time.Second,
WriteTimeout: 10 * time.Second,
MaxHeaderBytes: 1 << 20,
Expand Down

0 comments on commit aa4a99f

Please sign in to comment.