You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I base this off of the fact that urfave/cli provides the GlobalString() method, which to me excludes the possibility that the configurations are merged.
Also, the metrics ports settings are defined using your own type for parameters:
It appears that both
WatchtowerMetricsPort
andNodeMetricsPort
settings are ignored by the nodes:smartnode/shared/services/config/rocket-pool-config.go
Lines 81 to 83 in 4969a80
And
ExporterMetricsPort
probably also.Based on reading the code it appears the value for
smartnode
metrics port and address comes from CLI context:smartnode/rocketpool/node/metrics-exporter.go
Line 17 in 4969a80
smartnode/rocketpool/node/metrics-exporter.go
Lines 95 to 96 in 4969a80
Which as far as I can tell does not include settings from
user-settings.yml
file. The same goes forwatchtower
:smartnode/rocketpool/watchtower/metrics-exporter.go
Line 17 in 4969a80
smartnode/rocketpool/watchtower/metrics-exporter.go
Lines 42 to 43 in 4969a80
I base this off of the fact that
urfave/cli
provides theGlobalString()
method, which to me excludes the possibility that the configurations are merged.Also, the metrics ports settings are defined using your own type for parameters:
smartnode/shared/services/config/rocket-pool-config.go
Lines 427 to 429 in 4969a80
smartnode/shared/types/config/parameter.go
Lines 10 to 11 in 4969a80
Which as far as I can tell is not merged with CLI flags.
Based on this I conclude that both of these settings in user config file are not used.
The text was updated successfully, but these errors were encountered: