We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 748f0d9 commit ebf1689Copy full SHA for ebf1689
1 file changed
monitoring/snippets/system-test/alerts.test.js
@@ -44,7 +44,7 @@ test.before(async () => {
44
{
45
displayName: 'Condition 1',
46
conditionAbsent: {
47
- filter: `metric.type = "cloudfunctions.googleapis.com/function/execution_count"`,
+ filter: `resource.type = "cloud_function" AND metric.type = "cloudfunctions.googleapis.com/function/execution_count"`,
48
aggregations: [
49
50
alignmentPeriod: {
@@ -75,7 +75,7 @@ test.before(async () => {
75
76
displayName: 'Condition 2',
77
78
79
80
81
0 commit comments