fix
This commit is contained in:
parent
46031265e0
commit
d91ae82f6e
@ -44,7 +44,7 @@ class TasksHandlerMixin:
|
|||||||
print(f'Failed to finish task id={task["id"]}')
|
print(f'Failed to finish task id={task["id"]}')
|
||||||
try:
|
try:
|
||||||
metric = requests.post('http://monitoring:1237/api/v1/metrics/task', json={
|
metric = requests.post('http://monitoring:1237/api/v1/metrics/task', json={
|
||||||
'timestamp': start.isoformat(),
|
'timestamp': start.strftime("%Y-%m-%dT%H:%M:%S") + "Z",
|
||||||
'service': 'botalka',
|
'service': 'botalka',
|
||||||
'environment': stage,
|
'environment': stage,
|
||||||
'queue': self.queue_name,
|
'queue': self.queue_name,
|
||||||
|
Loading…
Reference in New Issue
Block a user