obmp-docker/obmp-grafana
sam 940f54c553 Fix BGP Peer Map blank node graph: numeric edge mainstat
The node graph rendered empty because the edges target returned a
string mainstat ('iBGP'/'eBGP'). Grafana's nodeGraph treats edge
mainStat as numeric for layout/labelling; a string value silently
breaks the layout so no nodes are drawn (the working LS map and the
original ls_topo both cast edge mainstat to an integer).

Edge mainstat is now COUNT(DISTINCT feed)::int (BMP peer-feed count
for the router pair); the iBGP/eBGP label moves to secondarystat and
detail__session_type, which accept strings.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 01:14:05 -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.