🏠 होम
बेंचमार्क
📊 सभी बेंचमार्क 🦖 डायनासोर v1 🦖 डायनासोर v2 ✅ टू-डू लिस्ट ऐप्स 🎨 रचनात्मक फ्री पेज 🎯 FSACB - अल्टीमेट शोकेस 🌍 अनुवाद बेंचमार्क
मॉडल
🏆 टॉप 10 मॉडल 🆓 मुफ्त मॉडल 📋 सभी मॉडल ⚙️ किलो कोड
संसाधन
💬 प्रॉम्प्ट लाइब्रेरी 📖 एआई शब्दावली 🔗 उपयोगी लिंक
Intermediate

Alerting on API Latency

#alertmanager #prometheus #latency #alerts

Configure Alertmanager to trigger on high API response times.

Define a Prometheus recording rule to calculate the 95th percentile latency (p95) for an HTTP API endpoint named 'api_v1_request_duration_seconds'. Then, write an Alertmanager alert rule that fires a 'Warning' alert if the p95 latency exceeds 500ms for a duration of 5 minutes. Explain the syntax used for the histogram_quantile function and the 'for' clause.