@ Test ( groups = { SAMPLES } ) public void getDE1MonitoringStatsForLastHourGroupedByServers ( ) { List < MonitoringStatsEntry > stats = statisticsService . monitoringStats ( ) . forDataCenters ( new DataCenterFilter ( ) . dataCenters ( DE_FRANKFURT ) ) . forTime ( new ServerMonitoringFilter ( ) . last ( Duration . ofHours ( 1 ) ) . type ( MonitoringType . REALTIME ) . interval ( Duration . ofMinutes ( 10 ) ) ) . groupByDataCenter ( ) ; assertNotNull ( stats ) ; }
Step 7 . App query monitoring statistics for last hour grouped by DataCenter