Hasura GraphQL Metadata Desync and Schema Inconsistency Sentinel
Audit Hasura metadata consistency, detect broken database relationships, and trigger Slack incident alerts.
Synthetic API latency monitoring with Kestra. Probe endpoints, evaluate SLO budgets, and alert Slack before SLAs breach.
Catch slow APIs before customers do. This blueprint runs synthetic latency probes against a configurable list of endpoints every 10 minutes, takes multiple samples per endpoint to smooth single-request noise, evaluates the results against a latency SLO budget in Python, and posts a Slack alert only when an endpoint breaches. A webhook trigger enables on-demand probes from deploy pipelines or ChatOps.
every_10_minutes (io.kestra.plugin.core.trigger.Schedule, cron */10 * * * *) launches the run; on_demand_webhook allows ad-hoc probes.probe_endpoints (io.kestra.plugin.core.flow.Loop, concurrency 4) fans out across inputs.endpoints.collect_samples (nested Loop) issues inputs.samples_per_endpoint sequential http_probe (io.kestra.plugin.core.http.Request) GETs with 10s connect / 15s read timeouts and allowFailed: true.evaluate_slo (io.kestra.plugin.scripts.python.Script) compares observed latency against inputs.latency_slo_ms and sets breached.alert_on_breach (io.kestra.plugin.core.flow.If) posts to Slack (io.kestra.plugin.slack.notifications.SlackIncomingWebhook) only on breach.emit_slo_metrics (io.kestra.plugin.core.output.OutputValues) exports probe coverage for audit history.SLACK_WEBHOOK_URL: Slack Incoming Webhook for breach and failure alerts.WEBHOOK_KEY: auth key for the on-demand webhook trigger.SLACK_WEBHOOK_URL and WEBHOOK_KEY secrets.endpoints, latency_slo_ms, and samples_per_endpoint inputs.every_10_minutes schedule.{"status":"ok"}) in addition to latency.endpoints (ARRAY of STRING): URLs to probe.latency_slo_ms (INT, default 800): breach threshold in milliseconds.samples_per_endpoint (INT, default 5): probes per endpoint per run.emit_slo_metrics.values.endpoints_probed: number of endpoints probed.emit_slo_metrics.values.probed_at: run timestamp for SLA reports.