SHARDER HEALTHCHECK ALERT

A scheduled Git operation checks the health of the sharder's, ensuring the system's sharder are reliable and robust.

Sharder's HealthCheck GitHub Action - https://github.com/0chain/zus-cicd/actions/workflows/network-sharder-check.yaml

INTRODUCTION

Since sharder's and their alerts are crucial components of the chain, this git-action checks the sharder's health every three hours.

Pay attention to the sharder's rounds if you wish to manually monitor their health.

If any sharder becomes stuck, the git-action will send an alert to devops-0chain Slack Channel.

SCRIPT EXPLANATION

The Script used in GitHub Action - https://github.com/0chain/zus-cicd/blob/main/0chain-scripts/sharder-network-check.sh

Verify that the last_finalized_round are progressing or not using the script above. Send a Slack alert on the devops-0chain channel if it's stuck. Otherwise, pass the check. In order to track last_finalized_round, it looks for the path /v1/sharder/get/stats of particular sharder in the existing network.

Below attached is example of the sharder links where we can manually track Sharder Status -

https://<< network_name >>/sharder01/v1/sharder/get/stats

The script above uses the /dns/network url to retrieve the miner and sharder links - https://<< network_name >>/dns/network

GITHUB ACTION

This GitHub Action is scheduled to run every three hours, but if you want to manually start it, click on Run Workflow and choose the necessary branch from Use workflow from.

Last updated