The following command allow you to run a fresh grafana server :
docker run -i -p 3000:3000 grafana/grafana
Once running, you need to set up an ElasticSearch data-source :
[james-metrics-]YYYY-MM
Import the different dashboards in this directory.
You then need to enable reporting through ElasticSearch. Modify your James ElasticSearch configuration file accordingly. To help you doing this, you can take a look to GitHub. Note that you need to run a guice/cassandra version of James.