sourcegraph/dev/managedservicesplatform
Robert Lin a3fe573b59
fix/msp: flatten custom alert promQL query for GCP (#63084)
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
2024-06-04 14:37:51 -07:00
..
clouddeploy bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
googlesecretsmanager bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
internal fix/msp: flatten custom alert promQL query for GCP (#63084) 2024-06-04 14:37:51 -07:00
operationdocs chore/msp: blindly retry Notion page deletion (#63052) 2024-06-03 22:32:06 +00:00
spec chore/msp/spec: tidy up custom alerts spec (#63050) 2024-06-03 13:53:01 -07:00
stacks chore/msp/spec: tidy up custom alerts spec (#63050) 2024-06-03 13:53:01 -07:00
terraformcloud bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
cdktf.go sg/msp: filter generated environments by category (#62131) 2024-04-24 09:44:16 -07:00
CODENOTIFY chore: update CODENOTIFY for Joe (#56647) 2023-09-14 16:09:33 +00:00
managedservicesplatform.go feat/msp: do not use tfvars file outside of deploy-type 'subscription' (#62704) 2024-05-16 09:43:47 -07:00