sourcegraph/doc
Robert Lin 55825e9939
monitoring: test owners for valid Opsgenie teams and handbook pages (#59251)
In INC-264 it seems that certain alerts - such as [zoekt: less than 90% percentage pods available for 10m0s](https://opsg.in/a/i/sourcegraph/178a626f-0f28-4295-bee9-84da988bb473-1703759057681) - don't seem to end up going anywhere because the ObservableOwner is defunct. This change adds _opt-in_ testing to report:

1. How many owners have valid Opsgenie teams
2. How many owners have valid handbook pages

In addition, we collect ObservableOwners that pass the test and use it to generate configuration for `site.json` in Sourcegraph.com: https://github.com/sourcegraph/deploy-sourcegraph-cloud/pull/18338 - this helps ensure the list is valid and not deceptively high-coverage.

The results are not great, but **enforcing** that owners are valid isn't currently in scope:

```
6/10 ObservableOwners do not have valid Opsgenie teams
3/10 ObservableOwners do not point to valid handbook pages
```

I also removed some defunct/unused functionality/owners.

## Test plan

To run these tests:

```
export OPSGENIE_API_KEY="..."
go test -timeout 30s  github.com/sourcegraph/sourcegraph/monitoring/monitoring -update -online                       
```
2023-12-29 14:07:35 -08:00
..
_resources [Cody GA Docs] Guides on Cody Capabilities — Chat, Autocomplete, Bug Fixes, Commands (#58288) 2023-12-11 09:33:02 -08:00
admin monitoring: test owners for valid Opsgenie teams and handbook pages (#59251) 2023-12-29 14:07:35 -08:00
api Improve GQL ratelimits (#58563) 2023-12-27 14:04:54 +01:00
batch_changes Docs: fix batch changes settings names (#58894) 2023-12-12 15:57:38 -07:00
cli bzl: bump src-cli to 5.2.0 (#57989) 2023-10-31 13:42:29 +00:00
cloud docs: update cloud api rate limit (#59222) 2023-12-22 16:26:09 -08:00
code_insights Fix typos in documentation (#52407) 2023-06-21 07:52:54 -07:00
code_monitoring Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
code_navigation Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
code_search Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
cody Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
dev Remove App from codebase (#59115) 2023-12-21 01:07:05 +01:00
dotcom Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
getting-started more style fixes in text (#58998) 2023-12-14 15:17:36 +00:00
integration Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
notebooks [Notebooks]: Remove notepad UI from notebooks feature (#58217) 2023-11-09 14:28:58 -03:00
own Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
sla add premium support doc to docs (#56985) 2023-09-27 12:05:27 -07:00
tutorials Update marketing website link in monorepo (#58449) 2023-12-01 22:22:34 +00:00
BUILD.bazel aspect workflows: add initial aspect workflow yaml (#56569) 2023-11-24 11:52:17 +02:00
CHANGELOG.md doc: symlink CHANGELOG.md to docs for better search results (#22918) 2021-07-16 23:25:02 +08:00
CODENOTIFY chore: clean up CODENOTIFY for @sourcegraph/delivery (#57046) 2023-09-26 15:20:42 -04:00
dependency_decisions.yml msp/runtime: add OpenTelemetry, make submodule (#58518) 2023-11-24 21:26:17 +00:00
docsite.json insights: re-index docs (#32415) 2022-03-10 10:05:59 -07:00
index.md Fix typo on main docs page (#59104) 2023-12-20 20:09:43 +01:00
KNOWN-ISSUES.md Ajb doc update 23 (#56656) 2023-09-15 17:04:23 +00:00
serve.sh bzl: bazelify docsite and doc/cli/reference generation (#54538) 2023-07-03 16:12:44 +02:00
sidebar.md [Cody GA Docs] Final PR (#58903) 2023-12-14 17:14:52 +00:00
test.sh bzl: wrap docsite check into //doc:test (#54376) 2023-06-28 21:00:54 +02:00