Merge pull request #10980 from sstrigler/EMQX-10189-mark-support-for-json-output-format-in-prometheus-stats-as-deprecated
Mark support for json output format in prometheus stats as deprecated
This commit is contained in:
commit
2e9ac8f1ec
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
-behaviour(minirest_api).
|
-behaviour(minirest_api).
|
||||||
|
|
||||||
-include("emqx_prometheus.hrl").
|
|
||||||
-include_lib("hocon/include/hoconsc.hrl").
|
-include_lib("hocon/include/hoconsc.hrl").
|
||||||
|
|
||||||
-import(hoconsc, [ref/2]).
|
-import(hoconsc, [ref/2]).
|
||||||
|
@ -128,7 +127,8 @@ prometheus_config_example() ->
|
||||||
|
|
||||||
prometheus_data_schema() ->
|
prometheus_data_schema() ->
|
||||||
#{
|
#{
|
||||||
description => <<"Get Prometheus Data">>,
|
description =>
|
||||||
|
<<"Get Prometheus Data. Note that support for JSON output is deprecated and will be removed in v5.2.">>,
|
||||||
content =>
|
content =>
|
||||||
#{
|
#{
|
||||||
'application/json' =>
|
'application/json' =>
|
||||||
|
|
Loading…
Reference in New Issue