@ Test ( groups = { SAMPLES } ) public void getMonitoringStatisticsByAllDatacenters ( ) { List < MonitoringStatsEntry > summarize = statisticsService . monitoringStats ( ) . forDataCenters ( new DataCenterFilter ( ) . dataCenters ( DE_FRANKFURT , US_EAST_STERLING ) ) . forTime ( new ServerMonitoringFilter ( ) . last ( Duration . ofDays ( 2 ) ) ) . summarize ( ) ; assertNotNull ( summarize ) ; }
Step 4 . App query total monitoring statistics by all datacenters