Alert me when task fails

Hi, I am ingesting realtime data through tranquility. I want to get alerted when the task fails with some error.

Please suggest how can I do that.

I don’t know much about Tranquility so this answer may or may not apply (does Tranquility run tasks on Middlemanagers managed by the Overlord)?

But my colleague Caydie asked a similar question at https://groups.google.com/d/msg/druid-user/Qqne_FuuTGk/j7uAIUVvBwAJ (about using the Kafka indexing service) and she implemented the suggestion there, pinging OVERLORD/druid/indexer/v1/completeTasks?n=200 from a monitoring job we run. It’s not as nice as just being able to get a number through the emitter, but it works.

–dave