Step4: Monitoring, Logging & Management
This will deploy Grafana, Loki, Node Exporter, Cadvisor, Caddy, Portainer Agent, Promtail, Prometheus, Portainer.
Run below script for deploying all required services for Monitoring, Logging & Management -
wget -N https://raw.githubusercontent.com/0chain/zcnwebappscripts/as-deploy/0chain/deploy_miner_ssls.sh ; bash deploy_miner_ssls.shFor whole server services we need a visualization tool like Grafana. In Grafana UI there are two datasources -
Prometheus - It is used for monitoring server and docker containers.
Loki - It is used for docker containers logging.
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 at the end it will show grafana & Portainer creds to you so keep a note of it somewhere.
Following is the Grafana & Portainer URL -
Grafana URL - https://<domain_name>/grafana/
Portainer URL - https://<domain_name>/portainer/
Last updated