MONITORING
Deploy Grafana, Prometheus, Loki and required exporters.
GRAFANA
Grafana is an open-source analytics and monitoring platform that allows users to visualize and analyze data from various sources, presenting it in customizable dashboards. It helps facilitating data-driven decision-making and performance monitoring in a visually appealing manner.
PROMETHEUS
Prometheus is an open-source monitoring and alerting toolkit designed for reliability and scalability. It collects metrics from configured targets, stores them, and allows querying and visualization. Its powerful query language, Prometheus Query Language (PromQL), enables effective monitoring of systems and applications in real-time for efficient troubleshooting and analysis.
LOKI
Loki is an open-source log aggregation system and storage backend with efficiency. It collects, indexes, and queries logs, making troubleshooting and monitoring easier. Loki is commonly used with Grafana for visualization, providing insights into system and application logs for efficient operational analysis.
CADVISOR
cAdvisor is an open-source container monitoring tool by Google that gathers and analyzes resource usage and performance metrics of running containers. It provides insights into CPU, memory, file system, and network usage, aiding in container management and optimization for improved efficiency and performance.
NODE EXPORTER
NodeExporter is an open-source Prometheus exporter for system-level metrics in Unix-like systems. It collects essential hardware and operating system metrics, such as CPU usage, memory usage, disk activity, and network statistics, making them available for monitoring and alerting through Prometheus, facilitating efficient system performance monitoring and analysis.
Monitoring script will deploy Grafana, Prometheus, Loki, Node Exporter and Cadvisor.
Clone the repository by following command -
git clone https://github.com/0chain/zus-cicd.gitTo run the script use following command :
cd 0chain-scriptsbash monitoring.sh IP miner_count sharder_count blobber_countexample - bash monitoring.sh X.X.X.X 1 1 0
Why miner/sharder/blobber count needed?
Reason - All will not deploy miner/sharder/blobber it will be either individual or combination of two so grafana will display the deployed dashboards and not all.
Last updated