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:
Stefan Strigler 2023-06-09 09:00:34 +02:00 committed by GitHub
commit 2e9ac8f1ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,6 @@
-behaviour(minirest_api).
-include("emqx_prometheus.hrl").
-include_lib("hocon/include/hoconsc.hrl").
-import(hoconsc, [ref/2]).
@ -128,7 +127,8 @@ prometheus_config_example() ->
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 =>
#{
'application/json' =>