Skip to content

Commit

Permalink
core: split out detailed trie access metrics from insertion time,add …
Browse files Browse the repository at this point in the history
…flag
  • Loading branch information
niuxiaojie81 committed Aug 25, 2021
1 parent 51b7d4b commit 0b51265
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/alaya/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ var (

metricsFlags = []cli.Flag{
utils.MetricsEnabledFlag,
utils.MetricsEnabledExpensiveFlag,
utils.MetricsEnableInfluxDBFlag,
utils.MetricsInfluxDBEndpointFlag,
utils.MetricsInfluxDBDatabaseFlag,
Expand Down
4 changes: 4 additions & 0 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,10 @@ var (
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",
Expand Down

0 comments on commit 0b51265

Please sign in to comment.