> For the complete documentation index, see [llms.txt](https://docs.witnesschain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.witnesschain.com/archive/for-the-node-operators/monitoring.md).

# Monitoring

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

<figure><img src="/files/O7Wm43dKjTOcGwcszH7u" alt=""><figcaption></figcaption></figure>

**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.

&#x20;

**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.

&#x20;

**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 <a href="#pre-requisites" id="pre-requisites"></a>

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: <a href="#getting-started" id="getting-started"></a>

First, create a workspace to organise the configuration

```
mkdir container_monitoring 
cd container_monitoring
```

&#x20;

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

&#x20;

The dashboard can be accessed at your url\
[http://localhost:3000](http://localhost:3000/)&#x20;

```
username: admin 
password: admin
```

&#x20;

And to stop the dashboard, in the same directory

```
docker compose down
```
