feat: hide ex_hook/rewrite/topic_metric/persistent_session_store/overload_protection

This commit is contained in:
某文 2023-04-13 21:33:48 +08:00
parent e7c42956b3
commit 58e31d5efd
4 changed files with 13 additions and 6 deletions

View File

@ -186,7 +186,7 @@ roots(medium) ->
{"overload_protection",
sc(
ref("overload_protection"),
#{}
#{importance => ?IMPORTANCE_HIDDEN}
)}
];
roots(low) ->
@ -224,7 +224,7 @@ roots(low) ->
{"persistent_session_store",
sc(
ref("persistent_session_store"),
#{}
#{importance => ?IMPORTANCE_HIDDEN}
)},
{"trace",
sc(

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_exhook, [
{description, "EMQX Extension for Hook"},
{vsn, "5.0.11"},
{vsn, "5.0.12"},
{modules, []},
{registered, []},
{mod, {emqx_exhook_app, []}},

View File

@ -31,7 +31,8 @@
namespace() -> exhook.
roots() -> [exhook].
roots() ->
[{exhook, ?HOCON(?R_REF(exhook), #{importance => ?IMPORTANCE_HIDDEN})}].
fields(exhook) ->
[

View File

@ -34,8 +34,14 @@ roots() ->
[
"delayed",
"telemetry",
array("rewrite", #{desc => "List of topic rewrite rules."}),
array("topic_metrics", #{desc => "List of topics whose metrics are reported."})
array("rewrite", #{
desc => "List of topic rewrite rules.",
importance => ?IMPORTANCE_HIDDEN
}),
array("topic_metrics", #{
desc => "List of topics whose metrics are reported.",
importance => ?IMPORTANCE_HIDDEN
})
].
fields("telemetry") ->