@@ -107,6 +107,7 @@ def test_integration_mongos(instance_integration_cluster, aggregator, check, dd_
107107 'dd.custom.mongo.query_a.amount' ,
108108 'dd.custom.mongo.query_a.el' ,
109109 'dd.mongo.operation.time' ,
110+ 'dd.mongo.async_job.cancel' ,
110111 ],
111112 check_submission_type = True ,
112113 )
@@ -200,6 +201,7 @@ def test_integration_replicaset_primary_in_shard(instance_integration, aggregato
200201 'dd.custom.mongo.count' ,
201202 'dd.custom.mongo.query_a.amount' ,
202203 'dd.custom.mongo.query_a.el' ,
204+ 'dd.mongo.async_job.cancel' ,
203205 ],
204206 check_submission_type = True ,
205207 )
@@ -299,6 +301,7 @@ def test_integration_replicaset_secondary_in_shard(instance_integration, aggrega
299301 'dd.custom.mongo.count' ,
300302 'dd.custom.mongo.query_a.amount' ,
301303 'dd.custom.mongo.query_a.el' ,
304+ 'dd.mongo.async_job.cancel' ,
302305 ],
303306 check_submission_type = True ,
304307 )
@@ -355,6 +358,7 @@ def test_integration_replicaset_arbiter_in_shard(instance_integration, aggregato
355358 'dd.custom.mongo.count' ,
356359 'dd.custom.mongo.query_a.amount' ,
357360 'dd.custom.mongo.query_a.el' ,
361+ 'dd.mongo.async_job.cancel' ,
358362 ],
359363 check_submission_type = True ,
360364 )
@@ -419,6 +423,7 @@ def test_integration_configsvr_primary(instance_integration, aggregator, check,
419423 'dd.custom.mongo.count' ,
420424 'dd.custom.mongo.query_a.amount' ,
421425 'dd.custom.mongo.query_a.el' ,
426+ 'dd.mongo.async_job.cancel' ,
422427 ],
423428 check_submission_type = True ,
424429 )
@@ -516,6 +521,7 @@ def test_integration_configsvr_secondary(instance_integration, aggregator, check
516521 'dd.custom.mongo.count' ,
517522 'dd.custom.mongo.query_a.amount' ,
518523 'dd.custom.mongo.query_a.el' ,
524+ 'dd.mongo.async_job.cancel' ,
519525 ],
520526 check_submission_type = True ,
521527 )
@@ -583,6 +589,7 @@ def test_integration_replicaset_primary(instance_integration, aggregator, check,
583589 'dd.custom.mongo.count' ,
584590 'dd.custom.mongo.query_a.amount' ,
585591 'dd.custom.mongo.query_a.el' ,
592+ 'dd.mongo.async_job.cancel' ,
586593 ],
587594 check_submission_type = True ,
588595 )
@@ -688,6 +695,7 @@ def test_integration_replicaset_primary_config(instance_integration, aggregator,
688695 'dd.custom.mongo.count' ,
689696 'dd.custom.mongo.query_a.amount' ,
690697 'dd.custom.mongo.query_a.el' ,
698+ 'dd.mongo.async_job.cancel' ,
691699 ],
692700 check_submission_type = True ,
693701 )
@@ -797,6 +805,7 @@ def test_integration_replicaset_secondary(
797805 'dd.custom.mongo.count' ,
798806 'dd.custom.mongo.query_a.amount' ,
799807 'dd.custom.mongo.query_a.el' ,
808+ 'dd.mongo.async_job.cancel' ,
800809 ],
801810 check_submission_type = True ,
802811 )
@@ -852,6 +861,7 @@ def test_integration_replicaset_arbiter(instance_integration, aggregator, check,
852861 'dd.custom.mongo.count' ,
853862 'dd.custom.mongo.query_a.amount' ,
854863 'dd.custom.mongo.query_a.el' ,
864+ 'dd.mongo.async_job.cancel' ,
855865 ],
856866 check_submission_type = True ,
857867 )
@@ -908,6 +918,7 @@ def test_standalone(instance_integration, aggregator, check, dd_run_check):
908918 'dd.custom.mongo.count' ,
909919 'dd.custom.mongo.query_a.amount' ,
910920 'dd.custom.mongo.query_a.el' ,
921+ 'dd.mongo.async_job.cancel' ,
911922 ],
912923 check_submission_type = True ,
913924 )
@@ -974,6 +985,7 @@ def test_db_names_with_nonexistent_database(check, instance_integration, aggrega
974985 'dd.custom.mongo.count' ,
975986 'dd.custom.mongo.query_a.amount' ,
976987 'dd.custom.mongo.query_a.el' ,
988+ 'dd.mongo.async_job.cancel' ,
977989 ],
978990 check_submission_type = True ,
979991 )
@@ -1009,6 +1021,7 @@ def test_db_names_missing_existent_database(check, instance_integration, aggrega
10091021 'dd.custom.mongo.count' ,
10101022 'dd.custom.mongo.query_a.amount' ,
10111023 'dd.custom.mongo.query_a.el' ,
1024+ 'dd.mongo.async_job.cancel' ,
10121025 ],
10131026 check_submission_type = True ,
10141027 )
0 commit comments