deploy_monitoring
Health checks, metrics, alerting ve rollback stratejileri.
npxskills add vuralserhat86/antigravity-agentic-skills--skill deploy_monitoringLoading…
Health checks, metrics, alerting ve rollback stratejileri.
npxskills add vuralserhat86/antigravity-agentic-skills--skill deploy_monitoringLoading…
Monitoring, alerting ve rollback stratejileri.
app.get('/health', (req, res) => {
res.json({ status: 'healthy', version: process.env.APP_VERSION });
});
app.get('/ready', async (req, res) => {
await db.$queryRaw`SELECT 1`;
res.json({ status: 'ready' });
});
const httpDuration = new Histogram({
name: 'http_request_duration_seconds',
help: 'Duration of HTTP requests',
labelNames: ['method', 'route', 'status'],
});
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.05
for: 5m
labels:
severity: critical
# Kubernetes
kubectl rollout undo deployment/app
# Vercel
vercel rollback
Kaynak: Google SRE Book - Monitoring & Prometheus Best Practices
/health (Liveness) ve /ready (Readiness) uç noktalarını tanımla.| Aşama | Doğrulama |
|---|---|
| 1 | Yeni bir servis eklendiğinde monitoring otomatik devreye giriyor mu? |
| 2 | Alertler "aksiyon alınabilir" (Actionable) bilgi içeriyor mu? |
| 3 | Loglarda PII (Kişisel veri) maskeleniyor mu? |
Deploy Monitoring v1.5 - With Workflow
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).