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",
|
{"overload_protection",
|
||||||
sc(
|
sc(
|
||||||
ref("overload_protection"),
|
ref("overload_protection"),
|
||||||
#{}
|
#{importance => ?IMPORTANCE_HIDDEN}
|
||||||
)}
|
)}
|
||||||
];
|
];
|
||||||
roots(low) ->
|
roots(low) ->
|
||||||
|
@ -224,7 +224,7 @@ roots(low) ->
|
||||||
{"persistent_session_store",
|
{"persistent_session_store",
|
||||||
sc(
|
sc(
|
||||||
ref("persistent_session_store"),
|
ref("persistent_session_store"),
|
||||||
#{}
|
#{importance => ?IMPORTANCE_HIDDEN}
|
||||||
)},
|
)},
|
||||||
{"trace",
|
{"trace",
|
||||||
sc(
|
sc(
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{application, emqx_exhook, [
|
{application, emqx_exhook, [
|
||||||
{description, "EMQX Extension for Hook"},
|
{description, "EMQX Extension for Hook"},
|
||||||
{vsn, "5.0.11"},
|
{vsn, "5.0.12"},
|
||||||
{modules, []},
|
{modules, []},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{mod, {emqx_exhook_app, []}},
|
{mod, {emqx_exhook_app, []}},
|
||||||
|
|
|
@ -31,7 +31,8 @@
|
||||||
|
|
||||||
namespace() -> exhook.
|
namespace() -> exhook.
|
||||||
|
|
||||||
roots() -> [exhook].
|
roots() ->
|
||||||
|
[{exhook, ?HOCON(?R_REF(exhook), #{importance => ?IMPORTANCE_HIDDEN})}].
|
||||||
|
|
||||||
fields(exhook) ->
|
fields(exhook) ->
|
||||||
[
|
[
|
||||||
|
|
|
@ -34,8 +34,14 @@ roots() ->
|
||||||
[
|
[
|
||||||
"delayed",
|
"delayed",
|
||||||
"telemetry",
|
"telemetry",
|
||||||
array("rewrite", #{desc => "List of topic rewrite rules."}),
|
array("rewrite", #{
|
||||||
array("topic_metrics", #{desc => "List of topics whose metrics are reported."})
|
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") ->
|
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