Added initial implementation of Topology-related event and
event metrics collector. It can be loaded by one of the following two (new) features: onos-app-metrics, onos-app-metrics-topology After loading the module, it subscribes for topology-related events and keeps the following state: (a) The last 10 events (b) The timestamp of the last event (ms after epoch) as observed by this module (c) The rate of the topology events: count, median rate, average rate over the last 1, 5 or 15 minutes The following CLI commands are added: * onos:topology-events Shows the last 10 topology events * onos:topology-events-metrics Shows the timestamp of the last event, and the rate of the topology events: see (b) and (c) above
Showing
11 changed files
with
473 additions
and
1 deletions
apps/metrics/pom.xml
0 → 100644
apps/metrics/topology/pom.xml
0 → 100644
apps/metrics/topology/src/main/java/org/onlab/onos/metrics/topology/TopologyMetricsService.java
0 → 100644
-
Please register or login to post a comment