mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:11:54 +00:00
The GCP monitoring alert configuration expects, for some reason, a single-line PromQL query only, otherwise the threshold doesn't work. In configuration, however, we may want to write a multi-line query, for ease of readability. This change automatically flattens the PromQL query into a single line and strips extra spaces. Part of CORE-161 ## Test plan Unit tests |
||
|---|---|---|
| .. | ||
| clouddeploy | ||
| googlesecretsmanager | ||
| internal | ||
| operationdocs | ||
| spec | ||
| stacks | ||
| terraformcloud | ||
| BUILD.bazel | ||
| cdktf.go | ||
| CODENOTIFY | ||
| managedservicesplatform.go | ||