cmd, core, eth, metrics, p2p: require enabling metrics
This commit is contained in:
committed by
Jeffrey Wilcke
parent
ccbb56b4f2
commit
01fe972113
@ -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{
|
||||
|
Reference in New Issue
Block a user