aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-03-25 16:01:18 +0800
committerGitHub <noreply@github.com>2019-03-25 16:01:18 +0800
commit86989e3fcd93ac319dfbced226b3902520a5a4a9 (patch)
tree12cd70f812c25be27c9fd391190e3b09e8335322 /cmd/utils
parente852505acedf6d3728330852b2d816ebf12a2cfb (diff)
downloadgo-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.tar
go-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.tar.gz
go-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.tar.bz2
go-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.tar.lz
go-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.tar.xz
go-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.tar.zst
go-tangerine-86989e3fcd93ac319dfbced226b3902520a5a4a9.zip
core: split out detailed trie access metrics from insertion time (#19316)
* core: split out detailed trie access metrics from insertion time * cmd, core, metrics: support expensive optional metrics
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index e00f92fa7..bf433242e 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -226,7 +226,7 @@ var (
}
// Dashboard settings
DashboardEnabledFlag = cli.BoolFlag{
- Name: metrics.DashboardEnabledFlag,
+ Name: "dashboard",
Usage: "Enable the dashboard",
}
DashboardAddrFlag = cli.StringFlag{
@@ -644,9 +644,13 @@ var (
// Metrics flags
MetricsEnabledFlag = cli.BoolFlag{
- Name: metrics.MetricsEnabledFlag,
+ Name: "metrics",
Usage: "Enable metrics collection and reporting",
}
+ MetricsEnabledExpensiveFlag = cli.BoolFlag{
+ Name: "metrics.expensive",
+ Usage: "Enable expensive metrics collection and reporting",
+ }
MetricsEnableInfluxDBFlag = cli.BoolFlag{
Name: "metrics.influxdb",
Usage: "Enable metrics export/push to an external InfluxDB database",