Step 5: Monitoring, Logging & Management
This will deploy Grafana, Loki, Node Exporter, Cadvisor, Caddy, Portainer Agent, Promtail, Prometheus, Portainer.
Steps to deploy portainer, ssl, grafana
Run below script for deploying all required services for Monitoring, Logging & Management -
cd ~
wget -N https://raw.githubusercontent.com/0chain/zcnwebappscripts/as-deploy/0chain/deploy_miner_ssls.sh ; bash deploy_miner_ssls.sh
Grafana UI is a visualization tool useful for whole server deployments. In there are two datasources:
Prometheus - used for monitoring server and docker containers.
Loki - used to aggregate and view logs from the running services.
Portainer will show all the docker container running inside your server & you can see instant logs , image tags, etc there.
NOTE: when this script completes, you will be presented with grafana & Portainer credentials. You must keep a note of these, they will not be shown again and support have no way of resetting these for you.
Following is the Grafana & Portainer URL -
Grafana URL - https://<domain_name>/grafana/
Portainer URL - https://<domain_name>/portainer/
Last updated