kafka-message-scheduler
kafka-message-scheduler copied to clipboard
Improve metrics for stored schedules
Overview
Currently we have a counter for the number of schedules scheduled, and the number cancelled. Instead of having a counter it would be better to have a gauge that increments with a schedule, and decrements once the schedule is published/cancelled. This would give us a better estimate for the number of schedules the scheduler has in memory.