Git Hooks
Log commits and pushes as changes via post-commit or post-push hooks to correlate with incidents.
Quick Setup
Copy Webhook URL
Go to your Alert24 dashboard and copy the webhook URL for Git Hooks.
Configure Git Hooks
Add the webhook URL in your Git Hooks settings.
Auto-Detected
Alert24 auto-detects Git Hooks payloads and maps them to incidents.
Track Changes with Git Hooks
Track changes for incident correlation and AI root cause analysis
- 1Copy the script below into .git/hooks/post-push (or post-commit)
- 2Make it executable: chmod +x .git/hooks/post-push
- 3Set ALERT24_CHANGES_URL as an environment variable
#!/bin/bash
curl -s -X POST "$ALERT24_CHANGES_URL" \\
-H "Content-Type: application/json" \\
-d "{
\"summary\": \"$(git log -1 --pretty=%s)\",
\"change_type\": \"deployment\",
\"commit_sha\": \"$(git rev-parse HEAD)\",
\"branch\": \"$(git rev-parse --abbrev-ref HEAD)\",
\"changed_by\": \"$(git config 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 Git Hooks 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.
GitLab CI
InboundReceive pipeline 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.