obmp-docker/obmp-grafana
sam cc0d20bf9e Back AS Relationship Map with a materialized view
The AS map previously exploded ~4.4M base_attrs AS_PATH rows live,
three times per load (one per panel), ~1.8s each — slow enough that
navigating away cancelled the queries mid-flight.

Add mv_as_adjacency: undirected consecutive-AS pairs with occurrence
counts over the full RIB (17k rows), refreshed hourly by pg_cron via
REFRESH ... CONCURRENTLY. The dashboard panels now read the view in
~1ms. Min-occurrence options rescaled for full-RIB counts
(2000/5000/10000/50000, default 2000 -> ~63-node graph).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 07:04:38 -07:00
..

OpenBMP Grafana Integration

Grafana can be used with the OpenBMP PostgreSQL backend to visualize BGP data and statistics.

Install/Run Grafana

Install/run grafana. See grafana in openbmp compose for details on how you can run the Grafana container.

Grafana Provisioning

This repo is structured to support Grafana Provisioning. For the most part, this repo can be cloned directly in to the /etc/grafana/provisioning directory.