emqx_prometheus_schema { enable.desc: """Turn Prometheus data pushing on or off""" headers.desc: """An HTTP Headers when pushing to Push Gateway.
For example, { Authorization = "some-authz-tokens"}""" interval.desc: """Data reporting interval""" 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.
Default value is: ${name}/instance/${name}~${host}""" mnesia_collector.desc: """Enable or disable Mnesia metrics collector""" prometheus.desc: """EMQX's Prometheus scraping endpoint is enabled by default without authentication. You can inspect it with a `curl` command like this: `curl -f "127.0.0.1:18083/api/v5/prometheus/stats"`
The 'enable' flag is used to turn on and off for the push-gateway integration.""" prometheus.label: """Prometheus""" push_gateway_server.desc: """URL of Prometheus server. Pushgateway is optional, should not be configured if prometheus is to scrape EMQX.""" vm_dist_collector.desc: """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.""" vm_msacc_collector.desc: """Enable or disable VM microstate accounting metrics collector.""" vm_statistics_collector.desc: """Enable or disable VM statistics collector.""" vm_system_info_collector.desc: """Enable or disable VM system info collector.""" }