Two recurring layout issues across dashboards I built this session:
1) Right-placed legend tables ate 30% of each panel width.
2) Default h:9 panels left ~50% of the viewport empty on a 1080p
display (total dashboard height ~18 grid rows vs ~30 available).
Stack Resources (Telemetry-3001/stack_resources.json):
* 3 timeseries: legend placement right -> bottom, calcs [max] -> [last,max],
added sortBy: Max desc so top consumers float to the top of the legend.
* Bumped all 4 panels h: 9 -> 14 (dashboard total 18 -> 28 rows).
Kafka Ingestion Lag and Live BGP Churn (Telemetry-3001/*):
* Bumped timeseries panels h: 9 -> 12; second-row y: 13 -> 16.
Dashboard total 22 -> 28 rows.
Policy Diff (obmp/History-1002/policy_diff.json):
* Bumped bottom-row panels h: 8 -> 11. Total 24 -> 27 rows.
Untouched (already adequate, scrollable by design, or built earlier):
evpn_rib (30 rows), global_table (38), router_diff (52), and the
Maps-1006 dashboards (already h:22-28 single panels).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
OpenBMP docker files
Docker files for OpenBMP.
(Prerequisite) Platform Docker Install
Ignore this step if you already have a current docker install
Note
You should use the latest docker version, documented in this section.
Follow the instructions on https://docs.docker.com/get-docker/
Optionally add a non-root user to run docker as
usermod -aG docker ubuntu
# Logout and log back so the group takes affect.
Optionally configure /etc/default/docker (e.g. for proxy config)
export http_proxy="http://proxy:80/"
export https_proxy="http://proxy:80/"
export no_proxy="127.0.0.1,openbmp.org,/var/run/docker.sock"
Make sure you can run 'docker run hello-world' successfully.
OpenBMP Docker Files
Each docker file contains a readme file, see below:
Using Docker Compose to run everything
Quick start (recommended): copy
.env.exampleto.env, fill it in, and run./setup.sh— it creates the data directories, syncs Grafana provisioning, and generates Authelia secrets. Then:docker compose up -d # BMP collector core docker compose --profile test --profile auth up -d # full stackSee DOCS.md section 4 for details and the manual alternative below.
Install Docker Compose
You will need docker-compose. You can install that via Docker Compose instructions. Docker compose will run everything, including handling restarts of containers.
(1) Mount/Make persistent directories
Create expected directories. You can choose to mount these as well or update the compose file to change them.
Note
If you are using OSX/Mac, then you will need to update your docker preferences to allow
/var/openbmp
Make sure to create the OBMP_DATA_ROOT directory first.
export OBMP_DATA_ROOT=/var/openbmp
sudo mkdir -p $OBMP_DATA_ROOT
Create sub directories
mkdir -p ${OBMP_DATA_ROOT}/config
mkdir -p ${OBMP_DATA_ROOT}/kafka-data
mkdir -p ${OBMP_DATA_ROOT}/zk-data
mkdir -p ${OBMP_DATA_ROOT}/zk-log
mkdir -p ${OBMP_DATA_ROOT}/postgres/data
mkdir -p ${OBMP_DATA_ROOT}/postgres/ts
mkdir -p ${OBMP_DATA_ROOT}/grafana
mkdir -p ${OBMP_DATA_ROOT}/grafana/dashboards
sudo chmod -R 7777 $OBMP_DATA_ROOT
In order to init the DB tables, you must create the file
${OBMP_DATA_ROOT}/config/init_db. This should only be done once or whenever you want to completely wipe out the DB and start over.
Change OBMP_DATA_ROOT=<path> to where you created the directories above. The default is /var/openbmp
OBMP_DATA_ROOT=/var/openbmp docker-compose -p obmp up -d