fix
This commit is contained in:
parent
7fcbb316e6
commit
5fa5789559
@ -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': 'botalka',
|
'service': 'ruz-bot',
|
||||||
'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",
|
||||||
|
Loading…
Reference in New Issue
Block a user