Silencing Alerts on Sourcegraph.com

You may need to silence alerts on Sourcegraph.com when they are not working as expected.

To do this you need to:

  1. Create a PR to deploy-sourcegraph-cloud.
  2. Edit the observability.silenceAlerts of the non-sensitive site config.
  3. Merge the PR.
  4. If the configuration change is needed immediately, you need to rollout the frotend pods to pick up the configuration change.
    1. Run kubectl rollout restart deployment/sourcegraph-frontend deploy/sourcegraph-frontend-internal --namespace=prod or ask in the #dev-ops channel.
  5. Create a tracking issue with the silenced-alert label.