Merge pull request #10401 from zhongwencool/hide-conf-04-14
feat: hide shared_subscription_group,rpc,slow_subs
This commit is contained in:
commit
57e8e2dae2
|
@ -1498,12 +1498,14 @@ fields("broker") ->
|
|||
ref("broker_perf"),
|
||||
#{importance => ?IMPORTANCE_HIDDEN}
|
||||
)},
|
||||
%% FIXME: Need new design for shared subscription group
|
||||
{"shared_subscription_group",
|
||||
sc(
|
||||
map(name, ref("shared_subscription_group")),
|
||||
#{
|
||||
example => #{<<"example_group">> => #{<<"strategy">> => <<"random">>}},
|
||||
desc => ?DESC(shared_subscription_group_strategy)
|
||||
desc => ?DESC(shared_subscription_group_strategy),
|
||||
importance => ?IMPORTANCE_HIDDEN
|
||||
}
|
||||
)}
|
||||
];
|
||||
|
|
|
@ -98,7 +98,10 @@ roots() ->
|
|||
{"rpc",
|
||||
sc(
|
||||
?R_REF("rpc"),
|
||||
#{translate_to => ["gen_rpc"]}
|
||||
#{
|
||||
translate_to => ["gen_rpc"],
|
||||
importance => ?IMPORTANCE_HIDDEN
|
||||
}
|
||||
)}
|
||||
] ++
|
||||
emqx_schema:roots(medium) ++
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{application, emqx_slow_subs, [
|
||||
{description, "EMQX Slow Subscribers Statistics"},
|
||||
% strict semver, bump manually!
|
||||
{vsn, "1.0.4"},
|
||||
{vsn, "1.0.5"},
|
||||
{modules, []},
|
||||
{registered, [emqx_slow_subs_sup]},
|
||||
{applications, [kernel, stdlib, emqx]},
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
|
||||
namespace() -> "slow_subs".
|
||||
|
||||
roots() -> ["slow_subs"].
|
||||
roots() ->
|
||||
[{"slow_subs", ?HOCON(?R_REF("slow_subs"), #{importance => ?IMPORTANCE_HIDDEN})}].
|
||||
|
||||
fields("slow_subs") ->
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue