Skip to content

Commit

Permalink
small fix of metrics default port (#12111)
Browse files Browse the repository at this point in the history
Co-authored-by: JkLondon <[email protected]>
  • Loading branch information
JkLondon and JkLondon authored Sep 27, 2024
1 parent 3c96154 commit 4de4ecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ var (
MetricsPortFlag = cli.IntFlag{
Name: "metrics.port",
Usage: "Metrics HTTP server listening port",
Value: 6061,
Value: metrics.DefaultConfig.Port,
}

CliqueSnapshotCheckpointIntervalFlag = cli.UintFlag{
Expand Down
2 changes: 1 addition & 1 deletion erigon-lib/common/metrics/metrics_enabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ var DefaultConfig = Config{
Enabled: false,
EnabledExpensive: false,
HTTP: "127.0.0.1",
Port: 6060,
Port: 6061,
}

0 comments on commit 4de4ecb

Please sign in to comment.