Merge pull request #10391 from zhongwencool/04-13-hide-conf
feat: hide ex_hook/rewrite/topic_metric/persistent_session_store
This commit is contained in:
commit
0553facfca
|
@ -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(
|
||||
|
|
|
@ -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, []}},
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
|
||||
namespace() -> exhook.
|
||||
|
||||
roots() -> [exhook].
|
||||
roots() ->
|
||||
[{exhook, ?HOCON(?R_REF(exhook), #{importance => ?IMPORTANCE_HIDDEN})}].
|
||||
|
||||
fields(exhook) ->
|
||||
[
|
||||
|
|
|
@ -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") ->
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
hide exhook/rewrite/topic_metric/persistent_session_store/overload_protection from the docs and configuration file.
|
Loading…
Reference in New Issue