Skip to content

Commit

Permalink
Updates title from "Query Runner Failure"
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-afedorov committed Jun 10, 2019
1 parent 38d3448 commit 8a2f519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runners/alert_queries_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ def log_failure(query_name, e, event_data=None, description=None):
alerts = [json.dumps({
'ALERT_ID': uuid.uuid4().hex,
'QUERY_ID': '3a3d173a64ca4fcab2d13ac3e6d08522',
'QUERY_NAME': f'Error in {query_name}',
'QUERY_NAME': 'Failure caught in AQR',
'ENVIRONMENT': 'Queries',
'SOURCES': ['Query Runner'],
'ACTOR': 'Query Runner',
'OBJECT': query_name,
'ACTION': 'Query Execution',
'TITLE': 'Query Runner Failure',
'TITLE': f'Error in {query_name}',
'ALERT_TIME': str(datetime.datetime.utcnow()),
'EVENT_TIME': str(datetime.datetime.utcnow()),
'EVENT_DATA': event_data,
Expand Down

0 comments on commit 8a2f519

Please sign in to comment.