Compare commits

...

2 Commits

Author SHA1 Message Date
77fe38acc0 Merge pull request 'fix' (#50) from master into dev
Reviewed-on: https://gitea.chocomarsh.com/self/botalka/pulls/50
2025-06-15 00:17:58 +03:00
Egor Matveev
d91ae82f6e fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 5s
Deploy Dev / Push (pull_request) Successful in 9s
Deploy Dev / Deploy dev (pull_request) Successful in 18s
2025-06-15 00:17:35 +03:00

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,