0
This article demonstrates how to use docker compose to quickly deploy a real-time network analytics stack that includes the
sFlow-RT analytics engine,
Prometheus time series database, and
Grafana to create dashboards.
git clone https://github.com/sflow-rt/prometheus-grafana.git
cd prometheus-grafana
./start.sh
Download the
sflow-rt/prometheus-grafana project from GitHub on a system with
Docker installed and start the containers. The
start.sh script runs
docker compose to bring up the containers specified in the
compose.yml file, passing in user information so that the containers have correct permission to write data files in the
prometheus and
grafana directories.
All the Docker images in this example are available for both x86 and ARM processors, so this stack can be deployed on Intel/AMD platforms as well as Apple M1/M2 or Raspberry Pi. Raspberry Pi 4 real-time network analytics describes how to configure a Raspberry Pi 4 to run Docker and perform real-time network analytics and is a simple way to run this stack for smaller networks.
Configure sFlow Agents in network devices to stream sFlow telemetry to the host running the analytics stack. See Getting Started for information on how to verify that sFlow telemetry is being received.
Connect to the Grafana web interface on
Continue reading