Scylla University Live | Nov 9 (AMERICAS), Nov 10 (EMEA and APAC) Free Virtual Training Event
Learn More

Install Scylla Monitoring Stack

This document describes the setup of Scylla Monitoring Stack, based on Scylla Prometheus API.

The Scylla Monitoring stack needs to be installed on a dedicated server, external to the Scylla cluster. Make sure the Scylla Monitoring server has access to the Scylla nodes to pull the metrics over the Prometheus API.

For evaluation, you can run the Scylla Monitoring stack on any server (or laptop) that can handle three Docker instances simultaneously. For production, see the recommendations below.

Minimal Production System Recommendations

  • CPU - at least 2 physical cores/ 4vCPUs

  • Memory - 15GB+ DRAM

  • Disk - persistent disk storage is proportional to the number of cores and Prometheus retention period (see the following section)

  • Network - 1GbE/10GbE preferred

Calculating Prometheus Minimal Disk Space requirement

Prometheus storage disk performance requirements: persistent block volume, for example an EC2 EBS volume

Prometheus storage disk volume requirement: proportional to the number of metrics it holds. The default retention period is 15 days, and the disk requirement is around 200MB per core, assuming the default scraping interval of 15s.

For example, when monitoring a 6 node Scylla cluster, each with 16 CPU cores, and using the default 15 days retention time, you will need minimal disk space of

6 * 16 * 200MB ~ 20GB

To account for unexpected events, like replacing or adding nodes, we recommend allocating at least x4-5 space, in this case, ~100GB. Prometheus Storage disk does not have to be as fast as Scylla disk, and EC2 EBS, for example, is fast enough and provide HA out of the box.


Docker Post Installation

Docker post installation guide can be found here


Avoid running the container as root.

To avoid running docker as root, you should add the user you are going to use for monitoring purposes to the Docker group.

  1. Create a Docker group.

sudo groupadd docker
  1. Add your user to the Docker group.

sudo usermod -aG docker $USER
  1. Start Docker by calling:

sudo systemctl enable docker

Install Scylla Monitoring


  1. Download and extract the latest Scylla Monitoring Stack binary;

tar -xvf scylla-monitoring-3.3.tar.gz
cd scylla-monitoring-scylla-monitoring-3.3

As an alternative, you can clone and use the Git repository directly.

git clone
cd scylla-monitoring
git checkout branch-3.3
  1. Start Docker service if needed

sudo systemctl restart docker

Configure Scylla Monitoring

To monitor the cluster, Scylla Monitor (Specifically the Prometheus Server) needs to know the IP of all the nodes and the IP of the Scylla Manager Server (if you are using Scylla Manager).

This configuration can be done from files or using the Consul api.

Sylla Manager 2.0 and higher supports the Consul API.

Configure Scylla nodes from files

  1. Create prometheus/scylla_servers.yml with the targets’ IPs (the servers you wish to monitor).


It is important that the name listed in dc in the labels matches the datacenter names used by Scylla. Use the nodetool status command to validate the datacenter names used by Scylla.

For example:

- targets:
      cluster: cluster1
      dc: dc1


If you want to add your managed cluster to Scylla Monitoring, add the IPs of the nodes as well as the cluster name you used when you added the cluster to Scylla Manager. It is important that the label cluster name and the cluster name in the Scylla Manager match.

Using IPV6

To use IPv6 inside scylla_server.yml, add the IPv6 addresses with their square brackets and the port numbers.

For example:

- targets:
      - "[2600:1f18:26b1:3a00:fac8:118e:9199:67b9]:9180"
      - "[2600:1f18:26b1:3a00:fac8:118e:9199:67ba]:9180"
      cluster: cluster1
      dc: dc1


For IPv6 to work, both Scylla Prometheus address and node_exporter’s –web.listen-address should be set to listen to an IPv6 address.

For general node information (disk, network, etc.) Scylla Monitoring Stack uses the node_exporter agent that runs on the same machine as Scylla does. By default, Prometheus will assume you have a node_exporter running on each machine. If this is not the case, you can override the node_exporter targets configuration file by creating an additional file and passing it with the -n flag.


By default, there is no need to create node_exporter_server.yml. Prometheus will use the same targets it uses for Scylla, and will assume you have a node_exporter running on each Scylla server.

If needed, you can set your own target file instead of the default prometheus/scylla_servers.yml, using the -s for Scylla target files.

For example:

./ -s my_scylla_server.yml -d data_dir

Mark the different Data Centers with Labels.

As can be seen in the examples, each target has its own set of labels to mark the cluster name and the data center (dc). You can add multiple targets in the same file for multiple clusters or multiple data centers.

You can use the script to generate the server file. For example:

./ -d myconf -dc dc1:, -dc dc2:,

This will generate a server file for four servers in two datacenters server and in dc1 and and in dc2.


The script can also use nodetool status to generate the server file using the -NS flag.

nodetool status | ./ -NS

2. Connect to Scylla Manager by creating prometheus/scylla_manager_servers.yml If you are using the Scylla Manager, you should set its IP.

You must add a scylla_manager_servers.yml file even if you are not using the manager. You can look at: prometheus/scylla_manager_servers.example.yml for an example.

For example

# List Scylla Manager end points

- targets:

Note that you do not need to add labels to the Scylla Manager targets.

Configure Scylla nodes using Scylla-Manager Consul API

Scylla Manager 2.0 has a Consul like API.

When using the manager as the configuration source, there is no need to set any of the files. Instead, you should set the scylla-manager IP from the command line using the -L flag.

For example:

./ -L


If you are running Scylla-Manager on the same host as Scylla-Monitoring you should use -l flag so that the localhost address will be available from within the container.

Start and Stop Scylla Monitoring Stack


./ -d data_dir



Start a Specific Scylla Monitoring Stack Version

By default, will start with dashboards for the latest two Scylla versions and the latest Scylla Manager version.

You can specify specific Scylla version with the -v flag and Scylla Manager version with -M flag

For example:

./ -v 3.1,master -M 2.0 -d /promethes-data

will load the dashboards for Scylla versions 3.1 and master and the dashboard for Scylla Manager 2.0

Accessing the localhost

The Prometheus server runs inside a Docker container if it needs to reach a target on the local- host: either Scylla or Scylla-Manager. It needs to use the host network and not the Docker network. To do that run ./ with the -l flag. For example:

./ -l -d /promethes-data

View Grafana Dashboards

Point your browser to your-server-ip:3000 By default, Grafana authentication is disabled. To enable it and set a password for user admin, use the -a option.