Ceph Cluster Health Gate
Fetch the Ceph Dashboard's own full health report and alert Slack on HEALTH_WARN or HEALTH_ERR, read-only.
Audit GitLab CI pipelines via GraphQL API for execution duration regressions and alert DevOps teams in Slack to prevent slow builds and runner cost spikes.
Prevent CI/CD pipelines from silently ballooning in duration, slowing engineering feedback loops and inflating cloud runner infrastructure bills. In active software engineering teams, additions of un-cached Docker builds, un-parallelized end-to-end integration tests, or saturated shared runner pools often cause pipeline execution times to gradually double or triple without anyone noticing until sprint velocity grinds to a halt. This blueprint runs an hourly audit via the GitLab GraphQL API (io.kestra.plugin.graphql.Request), inspects duration timings across recent successful pipelines, and dispatches a Slack alert whenever a pipeline breaches your maximum runtime budget.
Schedule trigger executes an hourly audit across recent pipelines (shipped disabled by default).fetch_recent_pipelines queries {{ inputs.gitlab_host }}/api/graphql using a project or personal token (GITLAB_API_TOKEN). The GraphQL query fetches recent successful pipelines with their unique iid, execution duration (in seconds), Git branch ref, creation timestamp, and commit title.evaluate_pipeline_duration (io.kestra.plugin.core.flow.If) applies a jq filter to count pipelines whose runtime exceeded inputs.max_duration_seconds:alert_slow_pipelines delivers an itemized Slack alert displaying pipeline identifiers, duration in minutes, branch refs, and commit messages.log_duration_healthy logs that performance is healthy.log_audit_summary records total evaluated and slow pipeline counts.errors handler catches network drops or authentication issues.Tracking pipeline duration trends natively in GitLab requires manually navigating analytics dashboards. Kestra provides automated, scheduled orchestration that queries GitLab's GraphQL API directly, evaluates duration metrics mathematically with jq expressions, and delivers alerts to Slack channels with zero custom bot maintenance.
read_api scope.GITLAB_API_TOKEN: GitLab access token passed in the Authorization: Bearer header.SLACK_WEBHOOK_URL: Slack Incoming Webhook URL used to post duration alerts.read_api scope.GITLAB_API_TOKEN and SLACK_WEBHOOK_URL in Kestra Secrets.gitlab_project_path to your repository path (e.g. gitlab-org/gitlab) and configure max_duration_seconds (e.g. 1800).hourly_pipeline_sweep schedule to activate hourly duration monitoring.test, build, deploy) contributed the most time.