At the time of issue Metric folder "Router Interface Statistics" and "Statistics" disappears and reappears.
Aria Operations: 8.18.x
NSX: 4.2.0.2.0.24278654
It is as per product design, these stat metrics are purposefully skipped when the difference between Current and Prev stats for router is negative to avoid Pricing calculation logics.
Workaround is to be implemented only when negative stats are acceptable.
cp /usr/lib/vmware-vcops/user/plugins/inbound/NSXTAdapter3/conf/NSXT.properties /usr/lib/vmware-vcops/user/plugins/inbound/NSXTAdapter3/conf/NSXT.properties.bkp
To validate the issue, confirm what stats has been received from NSX API, enable debug logging "com.vmware.adapter3.nsxt.collector.managercollector.metrics.LogicalRouterMetricCollector" for collector logs.
Search for following keywords in NSX adapter logs.
logger.info("Prev stats for router: "logicalRouter.getid()" is: "+ prevRouterStatistics);
logger.info("Current stats for router: "logicalRouter.getid()" is: "+ routerStatistics);