File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
monitoring/snippets/system-test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ test.before(async () => {
4444 {
4545 displayName : 'Condition 1' ,
4646 conditionAbsent : {
47- filter : `metric.type = "cloudfunctions.googleapis.com/function/execution_count"` ,
47+ filter : `resource.type = "cloud_function" AND metric.type = "cloudfunctions.googleapis.com/function/execution_count"` ,
4848 aggregations : [
4949 {
5050 alignmentPeriod : {
@@ -75,7 +75,7 @@ test.before(async () => {
7575 {
7676 displayName : 'Condition 2' ,
7777 conditionAbsent : {
78- filter : `metric.type = "cloudfunctions.googleapis.com/function/execution_count"` ,
78+ filter : `resource.type = "cloud_function" AND metric.type = "cloudfunctions.googleapis.com/function/execution_count"` ,
7979 aggregations : [
8080 {
8181 alignmentPeriod : {
You can’t perform that action at this time.
0 commit comments