Adjust blobstore latency alert (#59382)

This commit is contained in:
Petri-Johan Last 2024-01-09 08:34:27 +02:00 committed by GitHub
parent fd32368e19
commit 9efa6c7e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -235,7 +235,7 @@ Generated query for warning alert: `max((histogram_quantile(0.9, sum by (le) (ra
**Descriptions**
- <span class="badge badge-critical">critical</span> frontend: 5s+ 90th percentile blob load latency over 10m
- <span class="badge badge-critical">critical</span> frontend: 5s+ 90th percentile blob load latency over 10m for 10m0s
**Next steps**

View File

@ -164,7 +164,7 @@ func Frontend() *monitoring.Dashboard {
Name: "blob_load_latency",
Description: "90th percentile blob load latency over 10m",
Query: `histogram_quantile(0.9, sum by(le) (rate(src_http_request_duration_seconds_bucket{route="blob"}[10m])))`,
Critical: monitoring.Alert().GreaterOrEqual(5),
Critical: monitoring.Alert().GreaterOrEqual(5).For(10 * time.Minute),
Panel: monitoring.Panel().LegendFormat("latency").Unit(monitoring.Seconds),
Owner: monitoring.ObservableOwnerSource,
Interpretation: `
@ -757,7 +757,8 @@ func Frontend() *monitoring.Dashboard {
RefID: "2",
Expr: "sum(increase(src_search_ranking_result_clicked_count{type=\"filePathMatch\"}[6h])) / sum(increase(src_search_ranking_result_clicked_count[6h])) * 100",
LegendFormat: "filePathMatch",
}}
},
}
p.GraphPanel.Tooltip.Shared = true
}),
Owner: monitoring.ObservableOwnerSearchCore,