Пример #1
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(hours=1)
     return get_index_data(
         start_date,
         end_date,
         classification=CLASSIFICATION_NOT_CORE,
     )
Пример #2
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(hours=1)
     return get_index_data(
         start_date,
         end_date,
         classification=CLASSIFICATION_NOT_CORE,
     )
Пример #3
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(minutes=settings.ERROR_TIME_INTERVAL)
     return get_index_data(
         start_date,
         end_date,
         errors_only=True,
     )
Пример #4
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(minutes=settings.ERROR_TIME_INTERVAL)
     return get_index_data(
         start_date,
         end_date,
         errors_only=True,
     )
Пример #5
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(minutes=settings.ERROR_TIME_INTERVAL)
     return get_index_data(
         start_date,
         end_date,
         classification=CLASSIFICATION_ONLY_CORE,
         errors_only=True,
     )
Пример #6
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(minutes=settings.ERROR_TIME_INTERVAL)
     return get_index_data(
         start_date,
         end_date,
         classification=CLASSIFICATION_ONLY_CORE,
         errors_only=True,
     )
Пример #7
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(hours=1)
     services = self.board.services.filter(is_active=True, ).values_list(
         'id', flat=True)
     return get_index_data(
         start_date,
         end_date,
         services=services,
     )
Пример #8
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(hours=1)
     services = self.board.services.filter(
         is_active=True,
     ).values_list('id', flat=True)
     return get_index_data(
         start_date,
         end_date,
         services=services,
     )
Пример #9
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(hours=1)
     return get_index_data(start_date, end_date)
Пример #10
0
 def _get_items(self):
     end_date = timezone.now()
     start_date = end_date - timedelta(hours=1)
     return get_index_data(start_date, end_date)