@@ -720,6 +720,8 @@ def test_translate_histogram(self):
720
720
explicit_bounds = [10.0 , 20.0 ],
721
721
exemplars = [],
722
722
flags = pb2 .DataPointFlags .FLAG_NONE ,
723
+ max = 18.0 ,
724
+ min = 8.0 ,
723
725
)
724
726
],
725
727
aggregation_temporality = AggregationTemporality .DELTA ,
@@ -736,6 +738,7 @@ def test_translate_histogram(self):
736
738
self .assertEqual (expected , actual )
737
739
738
740
def test_translate_multiple_scope_histogram (self ):
741
+ self .maxDiff = None
739
742
expected = ExportMetricsServiceRequest (
740
743
resource_metrics = [
741
744
pb2 .ResourceMetrics (
@@ -782,6 +785,8 @@ def test_translate_multiple_scope_histogram(self):
782
785
explicit_bounds = [10.0 , 20.0 ],
783
786
exemplars = [],
784
787
flags = pb2 .DataPointFlags .FLAG_NONE ,
788
+ max = 18.0 ,
789
+ min = 8.0 ,
785
790
)
786
791
],
787
792
aggregation_temporality = AggregationTemporality .DELTA ,
@@ -816,6 +821,8 @@ def test_translate_multiple_scope_histogram(self):
816
821
explicit_bounds = [10.0 , 20.0 ],
817
822
exemplars = [],
818
823
flags = pb2 .DataPointFlags .FLAG_NONE ,
824
+ max = 18.0 ,
825
+ min = 8.0 ,
819
826
)
820
827
],
821
828
aggregation_temporality = AggregationTemporality .DELTA ,
@@ -857,6 +864,8 @@ def test_translate_multiple_scope_histogram(self):
857
864
explicit_bounds = [10.0 , 20.0 ],
858
865
exemplars = [],
859
866
flags = pb2 .DataPointFlags .FLAG_NONE ,
867
+ max = 18.0 ,
868
+ min = 8.0 ,
860
869
)
861
870
],
862
871
aggregation_temporality = AggregationTemporality .DELTA ,
@@ -898,6 +907,8 @@ def test_translate_multiple_scope_histogram(self):
898
907
explicit_bounds = [10.0 , 20.0 ],
899
908
exemplars = [],
900
909
flags = pb2 .DataPointFlags .FLAG_NONE ,
910
+ max = 18.0 ,
911
+ min = 8.0 ,
901
912
)
902
913
],
903
914
aggregation_temporality = AggregationTemporality .DELTA ,
0 commit comments