Detect Qdrant embedding drift and verify bounded re-embedding
Compare live embeddings with stored vectors and repair an approved batch only when held-out retrieval has degraded.
Audit GreptimeDB continuous aggregation flow tasks, alert Slack on unassigned flownodes, and safely trigger table flushes for streaming time-series.
GreptimeDB is an open-source, cloud-native distributed time-series database designed for metrics, logs, and events. Its native Flow engine powers continuous aggregation pipelines, computing real-time downsampling, rolling averages, and windowed analytics as data streams into the cluster. In production deployments, node migrations, network partitions, or compute node failures can leave continuous aggregation flows in an orphan state with no active flownode IDs assigned. When a flow loses its compute workers, real-time downsampling halts, sink tables stop receiving fresh aggregates, and operational dashboards present stale metrics without throwing query-level errors. This blueprint provides an automated sentinel that continuously audits information_schema.flows, verifies flownode allocations, routes incident alerts to Slack, and triggers guarded table flushes when enabled.
every_fifteen_minutes) initiates diagnostic flow verification every 15 minutes, with manual execution supported via flow inputs.probe_flows) connects to the GreptimeDB MySQL wire protocol interface (port 4002) via io.kestra.plugin.jdbc.mysql.Query and queries information_schema.flows.classify_flow_health) parses the flow metadata using Pebble conditionals, grouping the cluster status into HEALTHY, WARNING, CRITICAL, or PROBE_FAILED.route_by_flow_status) switches downstream execution paths according to the classified health state.CRITICAL state, alert_critical_slack dispatches an incident notification to the configured Slack channel with affected flow names and sink tables.check_remediation) checks whether auto_flush is enabled and dry_run is disabled. If confirmed, flush_sink_tables iterates over affected destination tables and executes ADMIN flush_table('sink_table') to write buffered memtables to physical SST storage.PROBE_FAILED or network errors, dedicated alerts notify administrators of database interface reachability failure or invalid credentials.log_audit_summary) outputs a structured record documenting evaluated flow counts, status, and execution lineage.information_schema.flows and administrative privileges for ADMIN flush_table.GREPTIMEDB_USERNAME: Username for authenticating to the GreptimeDB MySQL wire protocol port.GREPTIMEDB_PASSWORD: Password for the GreptimeDB database user.SLACK_WEBHOOK_URL: HTTPS incoming webhook URL for the target Slack channel.GREPTIMEDB_USERNAME, GREPTIMEDB_PASSWORD, and SLACK_WEBHOOK_URL in your Kestra namespace secrets.dry_run: true to confirm connectivity against your GreptimeDB server.information_schema.flows is parsed successfully.every_fifteen_minutes schedule trigger to establish automated continuous surveillance.io.kestra.plugin.prometheus to correlate flow stalls with Datanode write latency and disk I/O.io.kestra.plugin.pagerduty.notifications.PagerDutyAlert for high-priority production metric pipeline halts.ADMIN compact_table for high-throughput time-series tables with deep LSM levels.