chore: remove *_collector for prometheus api's example

This commit is contained in:
Zhongwen Deng 2023-04-20 18:01:27 +08:00
parent bcc8f4313b
commit 4464a31fab
2 changed files with 2 additions and 8 deletions

View File

@ -2,7 +2,7 @@
{application, emqx_prometheus, [
{description, "Prometheus for EMQX"},
% strict semver, bump manually!
{vsn, "5.0.9"},
{vsn, "5.0.10"},
{modules, []},
{registered, [emqx_prometheus_sup]},
{applications, [kernel, stdlib, prometheus, emqx, emqx_management]},

View File

@ -122,13 +122,7 @@ prometheus_config_example() ->
interval => "15s",
push_gateway_server => <<"http://127.0.0.1:9091">>,
headers => #{'header-name' => 'header-value'},
job_name => <<"${name}/instance/${name}~${host}">>,
vm_dist_collector => enabled,
mnesia_collector => enabled,
vm_statistics_collector => enabled,
vm_system_info_collector => enabled,
vm_memory_collector => enabled,
vm_msacc_collector => enabled
job_name => <<"${name}/instance/${name}~${host}">>
}.
prometheus_data_schema() ->