Handle stats for BMP

Description

OpenBMP has some  aggregation tables which are run with cron scripts to update periodically.  

Apart from global_ip_rib, rest of them are mostly stats which uses timescale DB.

Since time-series data is already handled in OpenNMS with BmpTelemetryAdapter, this needs to be updated to fill the gaps.

Goal is to use OpenNMS Performance datasource in Grafana for the stats queries in OpenBMP grafana  [dashboards|http://example.com[https//github.com/SNAS/obmp-grafana]] 

 

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Chandra Gorantla November 18, 2020 at 2:56 PM

stats_chg_bypeer, stats_chg_byasn, stats_chg_byprefix  are persisted as time series data within OpenNMS. Pushed to PR  https://github.com/OpenNMS/opennms/pull/3193

fooker October 21, 2020 at 1:31 PM

Some of the stats are already handled by the telemetry adapter using the stats packet type. But some other stats need to be build by listening to updates and count per peer or per prefix, etc.

The adapter can track the state in memory but needs to listen to router reconnects to reset the internal state.

Fixed

Details

Assignee

Reporter

HB Backlog Status

Sprint

Fix versions

Priority

PagerDuty

Created October 14, 2020 at 12:02 AM
Updated March 1, 2021 at 8:27 PM
Resolved December 2, 2020 at 2:06 PM

Flag notifications