uranusjr commented on code in PR #24486:
URL: https://github.com/apache/airflow/pull/24486#discussion_r963995828
##########
airflow/utils/cli.py:
##########
@@ -156,17 +153,6 @@ def _build_metrics(func_name, namespace):
metrics['execution_date'] = tmp_dic.get('execution_date')
metrics['host_name'] = socket.gethostname()
- extra = json.dumps({k: metrics[k] for k in ('host_name', 'full_command')})
- log = Log(
- event=f'cli_{func_name}',
- task_instance=None,
- owner=metrics['user'],
- extra=extra,
- task_id=metrics.get('task_id'),
- dag_id=metrics.get('dag_id'),
- execution_date=metrics.get('execution_date'),
- )
- metrics['log'] = log
Review Comment:
So this metric is lost forever…? (although I don’t really understand how
this works)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]