-
Notifications
You must be signed in to change notification settings - Fork 20.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dumpconfig doesn't output config for metrics #22007
Comments
The metrics flags are not part of the config. Are they necessary for you in some special scenario? |
No, not really. As a user, I just found it confusing that they weren't part of the configuration. I was trying to generate a few |
I opened a similar issue a while back, seems to just be a continuation of that 🙂 |
Ah I see, nice catch. Also appears that |
I think |
@MysticRyuujin although it updates the config with the correct network ID, it doesn't start with the correct genesis block (starts with mainnet). |
Noticed this problem while trying to consolidate all config into a single file. At the moment i have to pass all the metrics config as flags and the rest in the config file. Not ideal if we want to keep things consistent. |
System information
Geth version:
v1.9.25
OS & Version: linux
Expected behaviour
Print config that turns on monitoring.
Actual behaviour
No observable change to output
Steps to reproduce the behaviour
$ diff <(geth --metrics --pprof dumpconfig) <(geth dumpconfig) $
The text was updated successfully, but these errors were encountered: