I want to log message with custom metric in google cloud composer's DAG. Assume that this metric is some number.
This will allow me to write rule/policy with some threshold and further send email.
Could you please provide python snippet to log with custom metric?