Reputation: 31
My Kafka-worker-connect and Datadog agent on ec2 and sends metric to Datadog. when I use systemctl stop Kafka-worker-connect, its shutting down the whole application without sending the metric to datadog. I tried curl delete operation to stop Kafka its working but it gonna delete the Kafka-connect.
so, I want to run systemctl stop command to stop Kafka-connect, and I need a solution to send metric to datadog as well that Kafka- connect is stopped
Upvotes: 1
Views: 204
Reputation: 999
Metrics are usually sent by running applications, and a metric for application start / stop does not make sense.
Kafka / Kafka connect stopping should generate either an event, or you can check the log in Datadog (after setting up log push to Datadog) to detect a shutdown.
Upvotes: 1