Event listener framework for capturing metadata?

Hi Druid community,

Is there a customizable event listener framework that we can utilize in Druid to capture metadata when events happen?

In my use case, I am trying to get ingestion spec details when a task is started/finished/failed. Similarly, Hive provides pre/post execution hooks for each HQL, Spark listener framework provides a couple of events that a custom listener can process. It could be possible that I am missing something obvious here.