Compare commits

..

No commits in common. "ea8164096e022cea12caa552b35f34b965591504" and "5392a9acc369583c1521a76ed98c74ffcde3968a" have entirely different histories.

View File

@ -25,7 +25,7 @@ class TasksHandlerMixin:
def _send_metric(self, start: datetime.datetime, end: datetime.datetime, success: bool): def _send_metric(self, start: datetime.datetime, end: datetime.datetime, success: bool):
def send(): def send():
requests.post(f'{QUEUES_URL}/api/v1/metric', json={ requests.post(f'{QUEUES_URL}/api/v1/metric', json={
'service': 'ruz-bot', 'service': 'botalka',
'queue': self.queue_name, 'queue': self.queue_name,
'success': success, 'success': success,
'timestamp': start.strftime("%Y-%m-%dT%H:%M:%S") + "Z", 'timestamp': start.strftime("%Y-%m-%dT%H:%M:%S") + "Z",