Merge pull request 'fix' (#50) from master into dev
Reviewed-on: https://gitea.chocomarsh.com/self/botalka/pulls/50
This commit is contained in:
commit
77fe38acc0
@ -44,7 +44,7 @@ class TasksHandlerMixin:
|
||||
print(f'Failed to finish task id={task["id"]}')
|
||||
try:
|
||||
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',
|
||||
'environment': stage,
|
||||
'queue': self.queue_name,
|
||||
|
Loading…
Reference in New Issue
Block a user