monitoring: sync dot-com alerts to generator
Created by: bobheadxi
Syncs additional alerts from deploy-sourcegraph-dot-com
, missed in https://github.com/sourcegraph/sourcegraph/issues/12117:
-
ProdLandingPageLatencyGoal
-> removed - seems similar topage_load_latency
? But updatedpage_load_latency
to exclude GraphQL requests -
ProdBlobLatencyGoal
->blob_load_latency
, updatedpage_load_latency
to exclude blob and give it a more realistic critical threshold (?) based on the threshold set forProdBlobLatencyGoal
-
SearcherErrorRatioTooHigh
-> removed because seems similar tounindexed_search_request_errors
, also removederror_ratio
because it seems very similar tounindexed_search_request_errors
as well (?) -
SearcherHighTraffic
->replica_traffic
, inlined the record into the alert
See https://github.com/sourcegraph/deploy-sourcegraph-dot-com/pull/3099 for deploy-sourcegraph-dot-com
change
Try it out
same as in https://github.com/sourcegraph/sourcegraph/pull/12391:
kubectl port-forward svc/prometheus 9090:30090 -n prod
- Check out
monitoring/migrate-out-of-band-alerts
go generate ./monitoring
./dev/grafana.sh
- http://localhost:3370