How to get alerted when a ingestion task fails

I have looked into the metrics documentation(http://druid.io/docs/latest/operations/metrics.html) but didn’t find any metric which notifies a hadoop/realtime(tranquility) task failure.

Is there is a way to know is a task fails ? With/without failure status is fine.

Also If I missed somewhere to look at, would really help if you could give me a link or point me in the right direction.

Appreciate the help, thank you.

Hey Sunil,

I’d probably suggest building some sort of automation yourself, using the Druid APIs. An easy one might be system tables (http://druid.io/docs/latest/querying/sql), like this query to get a list of recently failed tasks:

SELECT task_id, created_time FROM sys.tasks WHERE status = ‘FAILED’