Witness Chain
  • Introduction to Witness Chain
  • Infinity Watch
    • Proof of Location (Mainnet)
      • Introduction
      • Process flow
      • Architecture
      • Run a watchtower!
        • For Partner node runners
          • Running on Akash Cloud
          • Running on SuperNoderz
        • EigenLayer operators
          • Running a PoL Watchtower
          • Witness Chain AVS opt-in guide
        • At-home watchtowers
        • For DePIN/Validator Node provider
      • Demos
      • PoL Research
    • APIs
      • Campaign APIs
        • Key Terminologies
        • Authentication
        • Create Campaign
        • Edit campaign
        • Get Photo feed from campaign
        • Get Campaigns
      • Challenge APIs
        • Overview
        • Getting Started
  • Resources
    • Blogs
      • How Proof of Location Works
      • Redefining Geolocation Compliance: Witness Chain & Predicate
    • 🗞️Research
    • 🎙️Talks and Podcasts
    • 🤝Community
    • ⚖️Smart Contracts
    • File a bug
  • Archive
    • Introduction
    • Proof of Diligence Watchtower Protocol
      • How it works
      • Diligence Watchtower Roadmap
      • Watchtower Architecture
      • Chains watched
      • Smart Contracts
      • Quick Links
      • FAQs
    • For the node operators
      • Node requirements
      • Watchtower setup
        • [ARCHIVE] Mainnet Setup
          • L2 Archive Node Setup guide
        • Holesky Setup
          • L2 Archive Node Setup guide
        • Migration from archive to full node
      • Monitoring
    • Research
    • Keys Management
    • Proof of Bandwidth
      • Introduction
      • Architecture
      • For the node operators
        • Running a PoB Challenger Client
        • Running a PoB Prover Client
      • Demos
      • Research
    • 🤝Watchtower Protocol (Architecture v1)
      • 🗼How it works
      • 📅Watchtower Roadmap
      • 🏦Watchtower Architecture
      • 🔗Chains supported
Powered by GitBook
On this page
  • Pre-requisites
  • Getting Started:
  1. Archive
  2. For the node operators

Monitoring

Monitor your container using Grafana and Prmoetheus

PreviousMigration from archive to full nodeNextResearch

Last updated 1 year ago

In this article, we will be setting up a dashboard to monitor the watchtower, which are deployed as a container image.

cAdvisor:

cAdvisor, or Container Advisor, is an open-source tool tailored for monitoring and analyzing the performance of Docker containers and other containerization platforms. It operates as a live daemon, collecting and exporting information about running containers.

Prometheus:

Prometheus is a free and open-source tool that monitors your software systems, collecting essential data about applications and services. It provides alerts for prompt issue detection and resolution.

Grafana:

Data visualization tool that helps you to turn complex data into easy-to-understand charts and graphs. It connects to various data sources, like databases or monitoring systems, and allows you to create interactive dashboards.

Pre-requisites

For the monitoring dashboard to function as expected, make sure you have the following setup

  • Docker

  • Docker compose plugin

  • Watchtower running as a container (any release)

Getting Started:

First, create a workspace to organise the configuration

mkdir container_monitoring 
cd container_monitoring

Now, download the configutation files, we have this hosted on github.

wget https://raw.githubusercontent.com/kaleidoscope-blockchain/config/main/monitoring_files.tar

Unarchive the files downloaded,

tar -xvf monitoring_files.tar

Finally starting up the dashboard, this is done with

docker compose up -d

Note: you can pass the option -d as exemplified in above command, to run in detached mode

username: admin 
password: admin

And to stop the dashboard, in the same directory

docker compose down

The dashboard can be accessed at your url

http://localhost:3000