Neo4j Long-Running Transaction Killer Guard
Find Neo4j transactions over an elapsed-time threshold, alert Slack, terminate the offenders after approval, then re-list and fail if any targeted transaction is still open.
Audits Dragonfly in-memory cache server statistics to detect high-frequency key eviction and cache thrashing.
This workflow connects to a Dragonfly in-memory data store instance via standard Redis protocol (redis-cli) to query INFO stats for the evicted_keys counter. Dragonfly provides a multi-threaded, high-throughput drop-in replacement for Redis and Memcached. When memory limits configured by maxmemory are saturated, Dragonfly's DashTable cache engine forcibly evicts keys according to the configured eviction policy (e.g., volatile-lru, allkeys-lru). Sudden spikes in evicted keys indicate cache capacity exhaustion and cause severe cache penetration into primary databases. This sentinel tracks key evictions and alerts caching platform teams.
6379).DRAGONFLY_PASSWORD and SLACK_WEBHOOK configured in Kestra.DRAGONFLY_PASSWORD and SLACK_WEBHOOK secrets.dragonfly_host, dragonfly_port, and max_evicted_keys_rate.INFO memory to inspect used_memory_human and fragmentation ratios.