🏠 হোম
বেঞ্চমার্ক
📊 সমস্ত বেঞ্চমার্ক 🦖 ডাইনোসর v1 🦖 ডাইনোসর v2 ✅ টু-ডু লিস্ট অ্যাপস 🎨 সৃজনশীল ফ্রি পেজ 🎯 FSACB - চূড়ান্ত শোকেস 🌍 অনুবাদ বেঞ্চমার্ক
মডেল
🏆 সেরা ১০টি মডেল 🆓 ফ্রি মডেল 📋 সমস্ত মডেল ⚙️ কিলো কোড
রিসোর্স
💬 প্রম্পট লাইব্রেরি 📖 এআই গ্লসারি 🔗 দরকারী লিঙ্ক
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.