Skip to content

Commit

Permalink
Merge pull request #421 from L4puta/patch-1
Browse files Browse the repository at this point in the history
Update config.go
  • Loading branch information
phillip-stephens authored Apr 12, 2024
2 parents 1e97dd8 + dd248a5 commit 9dce324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func validateFrameworkConfiguration() {
//validate/start prometheus
if config.Prometheus != "" {
go func() {
http.Handle("metrics", promhttp.Handler())
http.Handle("/metrics", promhttp.Handler())
if err := http.ListenAndServe(config.Prometheus, nil); err != nil {
log.Fatalf("could not run prometheus server: %s", err.Error())
}
Expand Down

0 comments on commit 9dce324

Please sign in to comment.