chore: deprecate statsd
This commit is contained in:
parent
8ccfbe9e16
commit
712f7b7454
|
@ -49,6 +49,7 @@ schema("/statsd") ->
|
||||||
'operationId' => statsd,
|
'operationId' => statsd,
|
||||||
get =>
|
get =>
|
||||||
#{
|
#{
|
||||||
|
deprecated => true,
|
||||||
description => ?DESC(get_statsd_config_api),
|
description => ?DESC(get_statsd_config_api),
|
||||||
tags => ?API_TAG_STATSD,
|
tags => ?API_TAG_STATSD,
|
||||||
responses =>
|
responses =>
|
||||||
|
@ -56,6 +57,7 @@ schema("/statsd") ->
|
||||||
},
|
},
|
||||||
put =>
|
put =>
|
||||||
#{
|
#{
|
||||||
|
deprecated => true,
|
||||||
description => ?DESC(update_statsd_config_api),
|
description => ?DESC(update_statsd_config_api),
|
||||||
tags => ?API_TAG_STATSD,
|
tags => ?API_TAG_STATSD,
|
||||||
'requestBody' => statsd_config_schema(),
|
'requestBody' => statsd_config_schema(),
|
||||||
|
|
|
@ -32,7 +32,8 @@
|
||||||
|
|
||||||
namespace() -> "statsd".
|
namespace() -> "statsd".
|
||||||
|
|
||||||
roots() -> ["statsd"].
|
roots() ->
|
||||||
|
[{"statsd", hoconsc:mk(hoconsc:ref(?MODULE, "statsd"), #{importance => ?IMPORTANCE_HIDDEN})}].
|
||||||
|
|
||||||
fields("statsd") ->
|
fields("statsd") ->
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue