docs(emqx_prometheus): leave remark about json being deprecated

This commit is contained in:
Stefan Strigler 2023-06-08 13:08:45 +02:00
parent b9f1a70214
commit f5e93b1b2b
1 changed files with 2 additions and 2 deletions

View File

@ -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' =>