{"repo":"emqx/emqx-exporter","free":true,"listed":false,"github":"https://github.com/emqx/emqx-exporter","clone":"git clone https://github.com/emqx/emqx-exporter.git","description":"Prometheus exporter for EMQX","language":"Python","stars":40,"topics":["emqx","grafana","prometheus","metrics","emqx-exporter","emqx-metrics"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"EMQX Exporter The emqx-exporter is designed to expose partial metrics that are not included in the EMQX Prometheus API. It is compatible with EMQX 4.4 and EMQX 5, both open-source and enterprise. Structure Metrics See the documentation Instruction for an explanation of the metrics on the dashboard Building and running The emqx-exporter listens on HTTP port 8085 by default. See the --help output for more options. Required EMQX exporter requires access to the EMQX dashboard API with basic auth, so you need to sign in to the dashboard to create an API secret Note that it is different to create a secret between EMQX 5 and EMQX 4.4 on the dashboard. EMQX 5 Create a new API KEY. EMQX 4.4 Create a new User instead of Application + Make sure the emqx prometheus plugin has been started on all nodes, check it one by one on the dashboard . Build make build Running ./bin/emqx-exporter Docker Compose Refer to the example to deploy a complete demo by docker compose. Kubernetes Refer to the example to learn how to deploy emqx-exporter on the Kubernetes. Configuration Sample config file like this The metrics and the probes are not required configuration items, if not set metrics , the metrics feature will disable, and if not set probes , the probe feature will disable. Prometheus Config The scrape config below is available for EMQX 5 Grafana Dashboard Import all templates to your Grafana, then browse the dashboard EMQX and enjoy yourself! The templates of dashboard ares JSON files, about how","default_branch":null,"files":null,"tree":[],"storefront":"/r/emqx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emqx/emqx-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}