diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-07-02 20:51:02 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-02 20:51:02 +0800 |
commit | 1990c9e6216fd6b25fdf6447844f36405b75c18e (patch) | |
tree | a06426641caf1e61ea788a5280d7047981e6ac67 /cmd/geth/usage.go | |
parent | 223d943481d16c4874165288cfb68e7350a9104e (diff) | |
download | dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.tar dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.tar.gz dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.tar.bz2 dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.tar.lz dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.tar.xz dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.tar.zst dexon-1990c9e6216fd6b25fdf6447844f36405b75c18e.zip |
cmd/geth: export metrics to InfluxDB (#16979)
* cmd/geth: add flags for metrics export
* cmd/geth: update usage fields for metrics flags
* metrics/influxdb: update reporter logger to adhere to geth logging convention
Diffstat (limited to 'cmd/geth/usage.go')
-rw-r--r-- | cmd/geth/usage.go | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index d934c6b02..06db64664 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -206,12 +206,23 @@ var AppHelpFlagGroups = []flagGroup{ { Name: "LOGGING AND DEBUGGING", Flags: append([]cli.Flag{ - utils.MetricsEnabledFlag, utils.FakePoWFlag, utils.NoCompactionFlag, }, debug.Flags...), }, { + Name: "METRICS AND STATS", + Flags: []cli.Flag{ + utils.MetricsEnabledFlag, + utils.MetricsEnableInfluxDBFlag, + utils.MetricsInfluxDBEndpointFlag, + utils.MetricsInfluxDBDatabaseFlag, + utils.MetricsInfluxDBUsernameFlag, + utils.MetricsInfluxDBPasswordFlag, + utils.MetricsInfluxDBHostTagFlag, + }, + }, + { Name: "WHISPER (EXPERIMENTAL)", Flags: whisperFlags, }, |