fix #50

Merged
emmatveev merged 1 commits from master into dev 2025-06-15 00:18:00 +03:00
Showing only changes of commit d91ae82f6e - Show all commits

View File

@ -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,