Note: Since this was written, the graphite plugin has become part of VerneMQ and is no longer an external plugin. See the documentation here.
[cue the A-TEAM intro sound...] While VerneMQ had many metrics built in right from the start, we never had the chance to show you how simple it actually is to display those metrics. So we'd like to show you today how easy it is to integrate VerneMQ Release 0.12.0 with Grafana, a powerful dashboard composer that allows you to elegantly explore all the VerneMQ metrics. While we're using only the most basic Grafana features the result of a couple of minutes for Grafana configuration already looks quite impressive:
You have all the important metrics on one page. On the top row you can find the nr. of MQTT publishes VerneMQ is currently receiving, transmitting, or dropping. You can also get information on MQTT connect requests and nr. of active, inactive, or expired clients. On the top right you'll find the online and offline messages VerneMQ is queuing. Of course all the typical Erlang VM stats are available too. If you want to experiment with the Grafana dashboard and VerneMQ, you have to go through the following steps:
vmq-admin plugin enable -n vmq_graphite
vmq-admin plugin show
Have Fun!
The VerneMQ Mission Engineers