示例#1
0
 def handle(self, *args, **kwargs):
     c = CollectorAPI()
     c.aggregate_past_periods()
示例#2
0
 def handle(self, *args, **kwargs):
     # Exit early if MONITORING_ENABLED=False
     if not settings.MONITORING_ENABLED:
         return
     c = CollectorAPI()
     c.aggregate_past_periods()