diff --git a/doc/admin/observability/alerts.md b/doc/admin/observability/alerts.md index 4f84a76aa37..ac202bef442 100644 --- a/doc/admin/observability/alerts.md +++ b/doc/admin/observability/alerts.md @@ -229,40 +229,6 @@ Generated query for warning alert: `max((histogram_quantile(0.9, sum by (le) (ra
-## frontend: blob_load_latency - -

90th percentile blob load latency over 10m

- -**Descriptions** - -- critical frontend: 5s+ 90th percentile blob load latency over 10m for 10m0s - -**Next steps** - -- When this alert fires, calls to the blob route are slow to return a response. The UI will likely experience delays loading files and code snippets. It is likely that the gitserver and/or frontend services are experiencing issues, leading to slower responses. -- Confirm that the Sourcegraph gitserver and frontend services have enough CPU/memory using the provisioning panels. -- Trace a request to see what the slowest part is: https://docs.sourcegraph.com/admin/observability/tracing -- Check that gitserver containers have enough CPU/memory and are not getting throttled. -- More help interpreting this metric is available in the [dashboards reference](./dashboards.md#frontend-blob-load-latency). -- **Silence this alert:** If you are aware of this alert and want to silence notifications for it, add the following to your site configuration and set a reminder to re-evaluate the alert: - -```json -"observability.silenceAlerts": [ - "critical_frontend_blob_load_latency" -] -``` - -*Managed by the [Sourcegraph Source team](https://handbook.sourcegraph.com/departments/engineering/teams/source).* - -
-Technical details - -Generated query for critical alert: `max((histogram_quantile(0.9, sum by (le) (rate(src_http_request_duration_seconds_bucket{route="blob"}[10m])))) >= 5)` - -
- -
- ## frontend: 99th_percentile_search_codeintel_request_duration

99th percentile code-intel successful search request duration over 5m

diff --git a/doc/admin/observability/dashboards.md b/doc/admin/observability/dashboards.md index 47e2f95b15f..a1d96a2e287 100644 --- a/doc/admin/observability/dashboards.md +++ b/doc/admin/observability/dashboards.md @@ -147,27 +147,6 @@ Query: `histogram_quantile(0.9, sum by(le) (rate(src_http_request_duration_secon
-#### frontend: blob_load_latency - -

90th percentile blob load latency over 10m

- -- The blob API route provides the files and code snippets that the UI displays. - -Refer to the [alerts reference](./alerts.md#frontend-blob-load-latency) for 1 alert related to this panel. - -To see this panel, visit `/-/debug/grafana/d/frontend/frontend?viewPanel=100021` on your Sourcegraph instance. - -*Managed by the [Sourcegraph Source team](https://handbook.sourcegraph.com/departments/engineering/teams/source).* - -
-Technical details - -Query: `histogram_quantile(0.9, sum by(le) (rate(src_http_request_duration_seconds_bucket{route="blob"}[10m])))` - -
- -
- ### Frontend: Search-based code intelligence at a glance #### frontend: 99th_percentile_search_codeintel_request_duration diff --git a/monitoring/definitions/frontend.go b/monitoring/definitions/frontend.go index a8af197c936..4c44de8dfa3 100644 --- a/monitoring/definitions/frontend.go +++ b/monitoring/definitions/frontend.go @@ -162,23 +162,6 @@ func Frontend() *monitoring.Dashboard { - Trace a request to see what the slowest part is: https://docs.sourcegraph.com/admin/observability/tracing `, }, - { - 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).For(10 * time.Minute), - Panel: monitoring.Panel().LegendFormat("latency").Unit(monitoring.Seconds), - Owner: monitoring.ObservableOwnerSource, - Interpretation: ` - - The blob API route provides the files and code snippets that the UI displays. - `, - NextSteps: ` - - When this alert fires, calls to the blob route are slow to return a response. The UI will likely experience delays loading files and code snippets. It is likely that the gitserver and/or frontend services are experiencing issues, leading to slower responses. - - Confirm that the Sourcegraph gitserver and frontend services have enough CPU/memory using the provisioning panels. - - Trace a request to see what the slowest part is: https://docs.sourcegraph.com/admin/observability/tracing - - Check that gitserver containers have enough CPU/memory and are not getting throttled. - `, - }, }, }, },