GitLab CI
Receive pipeline notifications and log deployments as changes to correlate with incidents.
Quick Setup
Copy Webhook URL
Go to your Alert24 dashboard and copy the webhook URL for GitLab CI.
Configure GitLab CI
Add the webhook URL in your GitLab CI settings.
Auto-Detected
Alert24 auto-detects GitLab CI payloads and maps them to incidents.
Step-by-Step Setup Instructions
GitLab CI Webhook Setup
Example Webhook Payload
This is a sample payload that GitLab CI sends to Alert24 when an alert fires.
{
"object_kind": "pipeline",
"object_attributes": {
"id": 12345,
"status": "failed",
"name": "Deploy Production",
"stages": [
"build",
"test",
"deploy"
],
"duration": 342,
"created_at": "2024-01-15T10:25:00Z",
"finished_at": "2024-01-15T10:30:42Z"
},
"project": {
"name": "my-app",
"web_url": "https://gitlab.com/org/my-app"
}
}How Alert24 Maps GitLab CI Data
Status Field
object_attributes.status
Message Field
object_attributes.name
Auto-Create Incidents
Yes
Auto-Resolve Incidents
Yes
Status Mapping
| Alert24 Status | GitLab CI Values |
|---|---|
| operational | success |
| down | failed |
Track Deployments from GitLab CI
Track changes for incident correlation and AI root cause analysis
- 1Go to your GitLab project → Settings → Webhooks
- 2Set URL to your Alert24 Changes Webhook URL
- 3Select triggers: Push events, Pipeline events, Merge request events
- 4Click Add webhook
Alert24 auto-detects GitLab push, pipeline, and merge request events.
# Or add to your .gitlab-ci.yml:
after_script:
- |
curl -s -X POST "${ALERT24_CHANGES_URL}" \
-H "Content-Type: application/json" \
-d "{
\"summary\": \"Deploy ${CI_COMMIT_SHORT_SHA}\",
\"change_type\": \"deployment\",
\"commit_sha\": \"${CI_COMMIT_SHA}\",
\"branch\": \"${CI_COMMIT_REF_NAME}\",
\"changed_by\": \"${GITLAB_USER_NAME}\"
}"Changes are logged per service. Copy the Changes Webhook URL from your service page in Alert24. When an incident occurs, recent changes are surfaced automatically with AI-powered root cause analysis. Learn more →
Connect GitLab CI to Alert24 in minutes
Free plan includes 5 monitors, 1 status page, and incident management. No credit card required.
More CI/CD & DevOps Integrations
GitHub
InboundLog pull request merges, pushes, and releases as changes for incident correlation.
GitHub Actions
InboundReceive workflow run notifications and log deployments as changes to correlate with incidents.
CircleCI
InboundReceive job notifications and log deployments as changes to correlate with incidents.
Terraform Cloud
InboundReceive run notifications and log infrastructure changes to correlate with incidents.
Jenkins
InboundReceive build notifications and log deployments as changes to correlate with incidents.
Azure DevOps
InboundReceive pipeline and release notifications and log deployments as changes for incident correlation.