In section Setup Grafana, you did set up a Grafana dashboard which is now waiting to receive data produced by
hermes and running on port 3000. You also configured Hermes in section Setup Hermes and added the keys you will be using.
Promtail is shipping every log file from
/var/log to Loki. Follow the steps below to create an empty log file for Hermes:
sudo touch /var/log/hermes.log sudo chown $(whoami) /var/log/hermes.log
You should now have an empty
hermes.log file that you can access and see on the Grafana Dashboard, on the
explore page, if you select Loki as a data source. You can query the label
Follow the steps to get started :
Open your dashboard. Make sure it gets refreshed every 5s.
In a new terminal, run
hermes start &> hermes.log.
If the command runs successfully, you should be able to see the metrics panels displaying data on the Grafana Dashboard and you should also be able to see the logs on the
Logs panel at the top of the dashboard. You can also explore them on the
You can now inspect the logs to verify whether the gas parameters are set correctly and tune them as possible. However, remember to restart Hermes when you modify the configuration.
Finally, Hermes is designed to relay without any intervention, however, you might have to manually trigger
hermes clear packets to clear outstanding packets that Hermes failed to relay.
NOTE: It is not possible to share a wallet between two instances of Hermes.
NOTE: In the future, Hermes might implement functionalities to trigger the commands through a REST API. It might become possible to manipulate the relayer through Grafana Alerts.