aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-29 21:11:01 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-06-30 06:51:46 +0800
commit01fe97211354d13ecaba8a52c82b808b7a7e8393 (patch)
tree337e23800833c81e1d21f5850d4079c575e89ea7 /cmd/utils
parentccbb56b4f2cdba352eaa859ce3e34f999287f5c0 (diff)
downloadgo-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.tar
go-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.tar.gz
go-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.tar.bz2
go-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.tar.lz
go-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.tar.xz
go-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.tar.zst
go-tangerine-01fe97211354d13ecaba8a52c82b808b7a7e8393.zip
cmd, core, eth, metrics, p2p: require enabling metrics
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 15a577a07..0d59980ec 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -10,6 +10,8 @@ import (
"path/filepath"
"runtime"
+ "github.com/ethereum/go-ethereum/metrics"
+
"github.com/codegangsta/cli"
"github.com/ethereum/ethash"
"github.com/ethereum/go-ethereum/accounts"
@@ -187,6 +189,10 @@ var (
Usage: "Port on which the profiler should listen",
Value: 6060,
}
+ MetricsEnabledFlag = cli.BoolFlag{
+ Name: metrics.MetricsEnabledFlag,
+ Usage: "Enables metrics collection and reporting",
+ }
// RPC settings
RPCEnabledFlag = cli.BoolFlag{