[metrics] Add the ability to control bind ip (#4012)

This commit is contained in:
Jiffs Maverick authored and GitHub committed 2022-11-24 10:22:59 -08:00
1 parent 15284e2bee
commit 4b0430e71d
7 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ func runServer(cmd *Command, args []string) bool {
webdavOptions.filer = &filerAddress
mqBrokerOptions.filerGroup = filerOptions.filerGroup
go stats_collect.StartMetricsServer(*serverMetricsHttpPort)
go stats_collect.StartMetricsServer(*serverBindIp, *serverMetricsHttpPort)
folders := strings.Split(*volumeDataFolders, ",")