@@ -453,17 +453,17 @@ module PackStats # rubocop:disable RSpec/DescribedClassModuleWrapping
453
453
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.using_public_directory.count' , 0 , Tags . for ( [ 'team:Unknown' , 'app:MyApp' ] ) )
454
454
455
455
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 2 , Tags . for ( [ 'team:Chefs' , 'other_team:Artists' , 'violation_type:dependency' , 'app:MyApp' ] ) )
456
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Chefs' , 'other_team:Artists' , 'violation_type:privacy' , 'app:MyApp' ] ) )
456
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Chefs' , 'other_team:Artists' , 'violation_type:privacy' , 'app:MyApp' ] ) )
457
457
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 1 , Tags . for ( [ 'team:Chefs' , 'other_team:Unknown' , 'violation_type:dependency' , 'app:MyApp' ] ) )
458
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Chefs' , 'other_team:Unknown' , 'violation_type:privacy' , 'app:MyApp' ] ) )
458
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Chefs' , 'other_team:Unknown' , 'violation_type:privacy' , 'app:MyApp' ] ) )
459
459
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 2 , Tags . for ( [ 'team:Unknown' , 'other_team:Chefs' , 'violation_type:dependency' , 'app:MyApp' ] ) )
460
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Unknown' , 'other_team:Chefs' , 'violation_type:privacy' , 'app:MyApp' ] ) )
461
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Unknown' , 'other_team:Artists' , 'violation_type:dependency' , 'app:MyApp' ] ) )
462
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Unknown' , 'other_team:Artists' , 'violation_type:privacy' , 'app:MyApp' ] ) )
463
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Chefs' , 'violation_type:dependency' , 'app:MyApp' ] ) )
464
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Chefs' , 'violation_type:privacy' , 'app:MyApp' ] ) )
465
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Unknown' , 'violation_type:dependency' , 'app:MyApp' ] ) )
466
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Unknown' , 'violation_type:privacy' , 'app:MyApp' ] ) )
460
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Unknown' , 'other_team:Chefs' , 'violation_type:privacy' , 'app:MyApp' ] ) )
461
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Unknown' , 'other_team:Artists' , 'violation_type:dependency' , 'app:MyApp' ] ) )
462
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Unknown' , 'other_team:Artists' , 'violation_type:privacy' , 'app:MyApp' ] ) )
463
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Chefs' , 'violation_type:dependency' , 'app:MyApp' ] ) )
464
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Chefs' , 'violation_type:privacy' , 'app:MyApp' ] ) )
465
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Unknown' , 'violation_type:dependency' , 'app:MyApp' ] ) )
466
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'team:Artists' , 'other_team:Unknown' , 'violation_type:privacy' , 'app:MyApp' ] ) )
467
467
end
468
468
end
469
469
@@ -685,12 +685,12 @@ module PackStats # rubocop:disable RSpec/DescribedClassModuleWrapping
685
685
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 2 , Tags . for ( [ 'package:root' , 'team:Unknown' , 'app:MyApp' , 'other_package:packs/package_2' , 'other_team:Unknown' , 'violation_type:dependency' ] ) )
686
686
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 3 , Tags . for ( [ 'package:packs/package_2' , 'app:MyApp' , 'team:Unknown' , 'other_package:packs/package_1' , 'other_team:Unknown' , 'violation_type:dependency' ] ) )
687
687
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 1 , Tags . for ( [ 'package:packs/package_2' , 'app:MyApp' , 'team:Unknown' , 'other_package:root' , 'other_team:Unknown' , 'violation_type:dependency' ] ) )
688
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'package:packs/package_1' , 'team:Unknown' , 'app:MyApp' , 'other_package:packs/package_2' , 'other_team:Unknown' , 'violation_type:dependency' ] ) )
688
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'package:packs/package_1' , 'team:Unknown' , 'app:MyApp' , 'other_package:packs/package_2' , 'other_team:Unknown' , 'violation_type:dependency' ] ) )
689
689
690
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'package:root' , 'team:Unknown' , 'app:MyApp' , 'other_package:packs/package_2' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
690
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'package:root' , 'team:Unknown' , 'app:MyApp' , 'other_package:packs/package_2' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
691
691
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 1 , Tags . for ( [ 'package:packs/package_2' , 'app:MyApp' , 'team:Unknown' , 'other_package:packs/package_1' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
692
692
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 1 , Tags . for ( [ 'package:packs/package_2' , 'app:MyApp' , 'team:Unknown' , 'other_package:root' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
693
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'package:packs/package_1' , 'team:Unknown' , 'app:MyApp' , 'other_package:root' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
693
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'package:packs/package_1' , 'team:Unknown' , 'app:MyApp' , 'other_package:root' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
694
694
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 1 , Tags . for ( [ 'package:packs/package_1' , 'team:Unknown' , 'app:MyApp' , 'other_package:packs/package_2' , 'other_team:Unknown' , 'violation_type:privacy' ] ) )
695
695
end
696
696
end
@@ -1086,11 +1086,11 @@ module PackStats # rubocop:disable RSpec/DescribedClassModuleWrapping
1086
1086
1087
1087
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 1 , Tags . for ( [ 'app:MyApp' , 'package:packs/my_pack' , 'other_package:packs/other_pack' , 'team:Bar Team' , 'other_team:Foo Team' , 'violation_type:architecture' , 'layer:utilities' ] ) )
1088
1088
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 1 , Tags . for ( [ 'app:MyApp' , 'package:packs/my_pack' , 'other_package:packs/other_pack' , 'team:Bar Team' , 'other_team:Foo Team' , 'violation_type:visibility' , 'layer:utilities' ] ) )
1089
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'app:MyApp' , 'package:packs/other_pack' , 'other_package:packs/my_pack' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:architecture' , 'layer:product' ] ) )
1090
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'app:MyApp' , 'package:packs/other_pack' , 'other_package:packs/my_pack' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:visibility' , 'layer:product' ] ) )
1089
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'app:MyApp' , 'package:packs/other_pack' , 'other_package:packs/my_pack' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:architecture' , 'layer:product' ] ) )
1090
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_package.violations.by_other_package.count' , 0 , Tags . for ( [ 'app:MyApp' , 'package:packs/other_pack' , 'other_package:packs/my_pack' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:visibility' , 'layer:product' ] ) )
1091
1091
1092
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'app:MyApp' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:architecture' ] ) )
1093
- expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'app:MyApp' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:visibility' ] ) )
1092
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'app:MyApp' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:architecture' ] ) )
1093
+ expect ( metrics ) . to_not include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 0 , Tags . for ( [ 'app:MyApp' , 'team:Foo Team' , 'other_team:Bar Team' , 'violation_type:visibility' ] ) )
1094
1094
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 1 , Tags . for ( [ 'app:MyApp' , 'team:Bar Team' , 'other_team:Foo Team' , 'violation_type:architecture' ] ) )
1095
1095
expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.violations.by_other_team.count' , 1 , Tags . for ( [ 'app:MyApp' , 'team:Bar Team' , 'other_team:Foo Team' , 'violation_type:visibility' ] ) )
1096
1096
end
0 commit comments