cmd/satellite: only add google profiler to satellite
Previously uplink, storagenode etc. included google cloud profiler, however they don't need it. Change-Id: Ibc95cb03d667a3844672eecd49fa455a6acc3866
This commit is contained in:
parent
ff57b30bac
commit
888bfaae4b
@ -22,6 +22,7 @@ import (
|
|||||||
"storj.io/common/uuid"
|
"storj.io/common/uuid"
|
||||||
"storj.io/private/cfgstruct"
|
"storj.io/private/cfgstruct"
|
||||||
"storj.io/private/process"
|
"storj.io/private/process"
|
||||||
|
_ "storj.io/private/process/googleprofiler" // This attaches google cloud profiler.
|
||||||
"storj.io/private/version"
|
"storj.io/private/version"
|
||||||
"storj.io/storj/cmd/satellite/reports"
|
"storj.io/storj/cmd/satellite/reports"
|
||||||
"storj.io/storj/pkg/cache"
|
"storj.io/storj/pkg/cache"
|
||||||
|
@ -135,7 +135,7 @@ func openLog(logPath string) error {
|
|||||||
logPath = "winfile:///" + logPath
|
logPath = "winfile:///" + logPath
|
||||||
}
|
}
|
||||||
|
|
||||||
logger, err := process.NewLoggerWithOutputPaths(logPath)
|
logger, err := process.NewLoggerWithOutputPaths("storagenode-updater", logPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
2
go.mod
2
go.mod
@ -45,6 +45,6 @@ require (
|
|||||||
storj.io/common v0.0.0-20200904063801-15a4e772a2f2
|
storj.io/common v0.0.0-20200904063801-15a4e772a2f2
|
||||||
storj.io/drpc v0.0.14
|
storj.io/drpc v0.0.14
|
||||||
storj.io/monkit-jaeger v0.0.0-20200518165323-80778fc3f91b
|
storj.io/monkit-jaeger v0.0.0-20200518165323-80778fc3f91b
|
||||||
storj.io/private v0.0.0-20200910221144-9fa0a1f43adf
|
storj.io/private v0.0.0-20200925142346-4c879709882f
|
||||||
storj.io/uplink v1.3.0
|
storj.io/uplink v1.3.0
|
||||||
)
|
)
|
||||||
|
2
go.sum
2
go.sum
@ -738,5 +738,7 @@ storj.io/monkit-jaeger v0.0.0-20200518165323-80778fc3f91b h1:Bbg9JCtY6l3HrDxs3BX
|
|||||||
storj.io/monkit-jaeger v0.0.0-20200518165323-80778fc3f91b/go.mod h1:gj4vuCeyCRjRmH8LIrgoyU9Dc9uR6H+/GcDUXmTbf80=
|
storj.io/monkit-jaeger v0.0.0-20200518165323-80778fc3f91b/go.mod h1:gj4vuCeyCRjRmH8LIrgoyU9Dc9uR6H+/GcDUXmTbf80=
|
||||||
storj.io/private v0.0.0-20200910221144-9fa0a1f43adf h1:9uhMNZPhGzi7voHOUbEg5GG15gvR0NPlbpTtKerKNEQ=
|
storj.io/private v0.0.0-20200910221144-9fa0a1f43adf h1:9uhMNZPhGzi7voHOUbEg5GG15gvR0NPlbpTtKerKNEQ=
|
||||||
storj.io/private v0.0.0-20200910221144-9fa0a1f43adf/go.mod h1:3BB0H9SmnJDfgk55uZli6DLHmhLiOdKiDY58ZI2e+pk=
|
storj.io/private v0.0.0-20200910221144-9fa0a1f43adf/go.mod h1:3BB0H9SmnJDfgk55uZli6DLHmhLiOdKiDY58ZI2e+pk=
|
||||||
|
storj.io/private v0.0.0-20200925142346-4c879709882f h1:0csZNWzYRhgBFp58rbBgqSp/62jtK2n0DIZ3Z/41Wso=
|
||||||
|
storj.io/private v0.0.0-20200925142346-4c879709882f/go.mod h1:3BB0H9SmnJDfgk55uZli6DLHmhLiOdKiDY58ZI2e+pk=
|
||||||
storj.io/uplink v1.3.0 h1:UzwqMXlSvHji3DHvFAWF1S4IDeYWt+hgD5iPsC5gqyw=
|
storj.io/uplink v1.3.0 h1:UzwqMXlSvHji3DHvFAWF1S4IDeYWt+hgD5iPsC5gqyw=
|
||||||
storj.io/uplink v1.3.0/go.mod h1:8GC+v/MBNdW8I++lroYSMvVPsruufHODY6FnnG5p3xw=
|
storj.io/uplink v1.3.0/go.mod h1:8GC+v/MBNdW8I++lroYSMvVPsruufHODY6FnnG5p3xw=
|
||||||
|
4
scripts/testdata/satellite-config.yaml.lock
vendored
4
scripts/testdata/satellite-config.yaml.lock
vendored
@ -268,8 +268,8 @@ identity.key-path: /root/.local/share/storj/identity/satellite/identity.key
|
|||||||
# if true, set logging to development mode
|
# if true, set logging to development mode
|
||||||
# log.development: false
|
# log.development: false
|
||||||
|
|
||||||
# configures log encoding. can either be 'console' or 'json'
|
# configures log encoding. can either be 'console', 'json', or 'pretty'.
|
||||||
# log.encoding: console
|
# log.encoding: ""
|
||||||
|
|
||||||
# the minimum log level to log
|
# the minimum log level to log
|
||||||
# log.level: info
|
# log.level: info
|
||||||
|
Loading…
Reference in New Issue
Block a user