Expected Behavior
Provide metrics to track the lifecycle events of Spring Kafka message listener containers:
spring_kafka_container_start_count
spring_kafka_container_stop_count
These metrics should increment each time a listener container is started or stopped.
Current Behavior
There are currently no built-in metrics that expose start and stop events for Spring Kafka message listener containers. As a result, users cannot directly monitor how often containers are started or stopped.
Context
In some use cases, message listener containers are started and stopped dynamically based on business logic. Without dedicated metrics, it is difficult to observe these lifecycle transitions or detect unintended start/stop behavior.
Introducing spring_kafka_container_start_count and spring_kafka_container_stop_count would provide better operational visibility. This would help users monitor container lifecycle activity, diagnose unexpected behavior, and improve observability in production environments.
Expected Behavior
Provide metrics to track the lifecycle events of Spring Kafka message listener containers:
spring_kafka_container_start_count
spring_kafka_container_stop_count
These metrics should increment each time a listener container is started or stopped.
Current Behavior
There are currently no built-in metrics that expose start and stop events for Spring Kafka message listener containers. As a result, users cannot directly monitor how often containers are started or stopped.
Context
In some use cases, message listener containers are started and stopped dynamically based on business logic. Without dedicated metrics, it is difficult to observe these lifecycle transitions or detect unintended start/stop behavior.
Introducing spring_kafka_container_start_count and spring_kafka_container_stop_count would provide better operational visibility. This would help users monitor container lifecycle activity, diagnose unexpected behavior, and improve observability in production environments.