@@ -453,17 +453,17 @@ module PackStats # rubocop:disable RSpec/DescribedClassModuleWrapping
453453 expect ( metrics ) . to include_metric GaugeMetric . for ( 'by_team.using_public_directory.count' , 0 , Tags . for ( [ 'team:Unknown' , 'app:MyApp' ] ) )
454454
455455 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' ] ) )
457457 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' ] ) )
459459 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' ] ) )
467467 end
468468 end
469469
@@ -685,12 +685,12 @@ module PackStats # rubocop:disable RSpec/DescribedClassModuleWrapping
685685 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' ] ) )
686686 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' ] ) )
687687 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' ] ) )
689689
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' ] ) )
691691 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' ] ) )
692692 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' ] ) )
694694 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' ] ) )
695695 end
696696 end
@@ -1086,11 +1086,11 @@ module PackStats # rubocop:disable RSpec/DescribedClassModuleWrapping
10861086
10871087 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' ] ) )
10881088 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' ] ) )
10911091
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' ] ) )
10941094 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' ] ) )
10951095 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' ] ) )
10961096 end
0 commit comments