From f04cafe57e79307e8eec7f35c0fa54955760e9c3 Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Sun, 5 Nov 2023 12:18:51 +0800 Subject: [PATCH] chore: update prometheus config desc --- rel/i18n/emqx_prometheus_schema.hocon | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/rel/i18n/emqx_prometheus_schema.hocon b/rel/i18n/emqx_prometheus_schema.hocon index d97f1884f..f5cb2ad8e 100644 --- a/rel/i18n/emqx_prometheus_schema.hocon +++ b/rel/i18n/emqx_prometheus_schema.hocon @@ -11,7 +11,8 @@ job_name.desc: """Job Name that is pushed to the Push Gateway. Available variables:
- ${name}: Name of EMQX node.
- ${host}: Host name of EMQX node.
-For example, when the EMQX node name is emqx@127.0.0.1 then the name variable takes value emqx and the host variable takes value 127.0.0.1.
+For example, when the EMQX node name is emqx@127.0.0.1 then the name +variable takes value emqx and the host variable takes value 127.0.0.1. Default value is: ${name}/instance/${name}~${host}""" prometheus.desc: @@ -25,20 +26,24 @@ push_gateway.desc: """Push Gateway is optional, should not be configured if prometheus is to scrape EMQX.""" collectors.desc: -"""Metrics collectors to be enabled.""" +"""The internal advanced metrics of the virtual machine are initially disabled +and are usually only enabled during performance testing. +Enabling them will increase the CPU load.""" push_gateway_url.desc: -"""URL of Prometheus server. Pushgateway is optional, should not be configured if prometheus is to scrape EMQX. +"""URL of Pushgateway server. Pushgateway is optional, should not be configured if prometheus is to scrape EMQX. Set url to "" to disable push gateway""" mnesia_collector.desc: -"""Enable or disable Mnesia metrics collector""" +"""Collects Mnesia metrics mainly using mnesia:system_info/1 """ vm_dist_collector.desc: -"""Enable or disable VM distribution collector, collects information about the sockets and processes involved in the Erlang distribution mechanism.""" +"""Enable or disable VM distribution collector, +collects information about the sockets and processes involved in the Erlang distribution mechanism.""" vm_memory_collector.desc: -"""Enable or disable VM memory metrics collector.""" +"""Collects information about memory dynamically allocated by the Erlang emulator using + erlang:memory/0 .""" vm_msacc_collector.desc: """Enable or disable VM microstate accounting metrics collector."""