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:
commit
ea8164096e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user