🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク
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.