Merge pull request 'fix' (#30) from master into prod

Reviewed-on: https://gitea.chocomarsh.com/self/ruz-bot/pulls/30
This commit is contained in:
emmatveev 2025-06-15 23:31:10 +03:00
commit ea8164096e

View File

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