chore: make sure topic_metrics/rewrite's default is []

This commit is contained in:
Zhongwen Deng 2023-05-04 14:29:54 +08:00
parent c38cec77a7
commit b09ee540d0
1 changed files with 4 additions and 2 deletions

View File

@ -36,11 +36,13 @@ roots() ->
"telemetry", "telemetry",
array("rewrite", #{ array("rewrite", #{
desc => "List of topic rewrite rules.", desc => "List of topic rewrite rules.",
importance => ?IMPORTANCE_HIDDEN importance => ?IMPORTANCE_HIDDEN,
default => []
}), }),
array("topic_metrics", #{ array("topic_metrics", #{
desc => "List of topics whose metrics are reported.", desc => "List of topics whose metrics are reported.",
importance => ?IMPORTANCE_HIDDEN importance => ?IMPORTANCE_HIDDEN,
default => []
}) })
]. ].