Skip to content

Commit bae8e80

Browse files
committed
Ignore "Instrument splice.trigger.latency.duration.seconds has exceeded the maximum allowed cardinality (1999)" (#1177)
--------- Signed-off-by: Oriol Muñoz <oriol.munoz@digitalasset.com>
1 parent ed86c4b commit bae8e80

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cluster/pulumi/infra/src/gcpAlerts.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ ${conditionalString(
124124
AND jsonPayload.remote=~"sender = PAR::tw-cn-testnet-participant-1::122051b3a160"
125125
AND timestamp <= "2025-05-14T09:00:00.000Z")
126126
`
127+
)}
128+
${conditionalString(
129+
// making this condition more complicated causes GCP to be unable to parse the query because there's too many filters
130+
isDevNet,
131+
`-- TODO(hyperledger-labs/splice#447): remove this once configured cardinality is respected
132+
-(jsonPayload.message="Instrument splice.trigger.latency.duration.seconds has exceeded the maximum allowed cardinality (1999).")
133+
`
127134
)}`,
128135
labelExtractors: {
129136
cluster: 'EXTRACT(resource.labels.cluster_name)',

0 commit comments

Comments
 (0)