feat: hide shared_subscription_group,rpc,slow_subs

This commit is contained in:
Zhongwen Deng 2023-04-14 17:14:11 +08:00
parent 1e07f37ab0
commit be35ae2132
4 changed files with 10 additions and 4 deletions

View File

@ -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
}
)}
];

View File

@ -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) ++

View File

@ -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]},

View File

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