monitoring: add WildcardAllValue and docs
Created by: bobheadxi
The generated Grafana 'all' value introduced in https://github.com/sourcegraph/sourcegraph/pull/29481 does not work very well for all cases, especially for OptionsQuery
where we can get a huge result set.
This PR creates an explicit option, WildcardAllValue
, along with documentation on when and why to use it as well as why we don't use a wildcard by default.
Test plan
sg.overwrite.yaml:
commands:
prometheus:
install: |
gcloud container clusters get-credentials cloud --zone us-central1-f --project sourcegraph-dev
cmd: |
kubectl port-forward svc/prometheus -n prod 9090:30090
sg start monitoring
Set to 12 hours, go to Executor -> Executor: Compute instance metrics