Configuration for Prometheus
![Promethues logo](../_images/prometheus-logo.png)
With Grafana and Prometheus you can log data from the Gataway and make beautiful graphs and nice dashboards.
There are two ways to get the data from EMS-ESP to Prometheus. Either with MQTT or with API calls.
HTTP API
Github user Poelstra [3] made a Prometheus metrics exporter [2] that exposes metrics from EMS-ESP.
MQTT structure
See Proddy’s EMS-ESP Wiki [1] for all the details on MQTT.