Loading...
Loading...
Execute PostHog production deployment checklist and rollback procedures. Use when deploying PostHog integrations to production, preparing for launch, or implementing go-live procedures. Trigger with phrases like "posthog production", "deploy posthog", "posthog go-live", "posthog launch checklist".
npx skill4agent add jeremylongshore/claude-code-plugins-plus-skills posthog-prod-checklistnpm test# Pre-flight checks
curl -f https://staging.example.com/health
curl -s https://status.posthog.com
# Gradual rollout - start with canary (10%)
kubectl apply -f k8s/production.yaml
kubectl set image deployment/posthog-integration app=image:new --record
kubectl rollout pause deployment/posthog-integration
# Monitor canary traffic for 10 minutes
sleep 600
# Check error rates and latency before continuing
# If healthy, continue rollout to 50%
kubectl rollout resume deployment/posthog-integration
kubectl rollout pause deployment/posthog-integration
sleep 300
# Complete rollout to 100%
kubectl rollout resume deployment/posthog-integration
kubectl rollout status deployment/posthog-integration| Alert | Condition | Severity |
|---|---|---|
| API Down | 5xx errors > 10/min | P1 |
| High Latency | p99 > 5000ms | P2 |
| Rate Limited | 429 errors > 5/min | P2 |
| Auth Failures | 401/403 errors > 0 | P1 |
async function healthCheck(): Promise<{ status: string; posthog: any }> {
const start = Date.now();
try {
await posthogClient.ping();
return { status: 'healthy', posthog: { connected: true, latencyMs: Date.now() - start } };
} catch (error) {
return { status: 'degraded', posthog: { connected: false, latencyMs: Date.now() - start } };
}
}kubectl rollout undo deployment/posthog-integration
kubectl rollout status deployment/posthog-integrationposthog-upgrade-migration