Compare commits
No commits in common. "77fe38acc0b23e5366dd960c0d9574db4f9e2499" and "64db4081448c4ead618c272d073aed6f015473aa" have entirely different histories.
77fe38acc0
...
64db408144
@ -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.strftime("%Y-%m-%dT%H:%M:%S") + "Z",
|
'timestamp': start.isoformat(),
|
||||||
'service': 'botalka',
|
'service': 'botalka',
|
||||||
'environment': stage,
|
'environment': stage,
|
||||||
'queue': self.queue_name,
|
'queue': self.queue_name,
|
||||||
|
Loading…
Reference in New Issue
Block a user