Skip to content

Commit

Permalink
custom port for prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh Shukla committed Dec 26, 2024
1 parent f6142e3 commit 165117c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func healthcheck(w http.ResponseWriter, r *http.Request) {

func runPrometheusHTTPServer(ctx context.Context, port uint16, profile bool) {
_, logger := loggerFromContext(ctx)
logger.Infof("Running HTTP listener for Prometheus on port %d", port)
logger.Infof("Running HTTP listener for Prometheus on port %d", 9102)

mux := http.NewServeMux()
mux.Handle("/metrics", promhttp.Handler())
Expand Down

0 comments on commit 165117c

Please # to comment.