Hourly OpenSearch Error Spike Gate with Discord Alerting
An hourly size-zero OpenSearch search counts 5xx documents, and an If gate alerts Discord and fails the execution when a threshold is crossed.
Audits Apache Druid Coordinator for unserved segments and historical tier imbalances to prevent analytical query errors.
This workflow connects to the Apache Druid Coordinator REST API (/druid/coordinator/v1/loadstatus?full) to audit datasource segment serving percentages across historical tiers. In Apache Druid, real-time ingestion tasks push published segments to deep storage (S3, GCS, HDFS), after which historical nodes download and serve them in memory. If historical tier disks run out of capacity, or network timeouts prevent segment downloads, segment load percentages drop below 100%. Queries hitting affected intervals return incomplete data or throw query exceptions. This workflow detects unserved segments and alerts analytics teams.
SLACK_WEBHOOK configured in Kestra./druid/coordinator/v1/tiers to identify specific historical tiers running low on disk space.