4747from opentelemetry .sdk .metrics ._internal .point import (
4848 ExponentialHistogramDataPoint ,
4949)
50- from opentelemetry .sdk .metrics ._internal .view import default_reservoir_factory
50+ from opentelemetry .sdk .metrics ._internal .view import _default_reservoir_factory
5151from opentelemetry .sdk .metrics .view import (
5252 ExponentialBucketHistogramAggregation ,
5353)
@@ -168,7 +168,7 @@ def test_alternating_growth_0(self):
168168 exponential_histogram_aggregation = (
169169 _ExponentialBucketHistogramAggregation (
170170 Mock (),
171- default_reservoir_factory (
171+ _default_reservoir_factory (
172172 _ExponentialBucketHistogramAggregation
173173 ),
174174 AggregationTemporality .DELTA ,
@@ -209,7 +209,7 @@ def test_alternating_growth_1(self):
209209 exponential_histogram_aggregation = (
210210 _ExponentialBucketHistogramAggregation (
211211 Mock (),
212- default_reservoir_factory (
212+ _default_reservoir_factory (
213213 _ExponentialBucketHistogramAggregation
214214 ),
215215 AggregationTemporality .DELTA ,
@@ -292,7 +292,7 @@ def test_permutations(self):
292292 exponential_histogram_aggregation = (
293293 _ExponentialBucketHistogramAggregation (
294294 Mock (),
295- default_reservoir_factory (
295+ _default_reservoir_factory (
296296 _ExponentialBucketHistogramAggregation
297297 ),
298298 AggregationTemporality .DELTA ,
@@ -342,7 +342,7 @@ def ascending_sequence_test(
342342 exponential_histogram_aggregation = (
343343 _ExponentialBucketHistogramAggregation (
344344 Mock (),
345- default_reservoir_factory (
345+ _default_reservoir_factory (
346346 _ExponentialBucketHistogramAggregation
347347 ),
348348 AggregationTemporality .DELTA ,
@@ -455,7 +455,7 @@ def mock_increment(self, bucket_index: int) -> None:
455455 exponential_histogram_aggregation = (
456456 _ExponentialBucketHistogramAggregation (
457457 Mock (),
458- default_reservoir_factory (
458+ _default_reservoir_factory (
459459 _ExponentialBucketHistogramAggregation
460460 ),
461461 AggregationTemporality .DELTA ,
@@ -521,7 +521,7 @@ def test_move_into(self):
521521 exponential_histogram_aggregation_0 = (
522522 _ExponentialBucketHistogramAggregation (
523523 Mock (),
524- default_reservoir_factory (
524+ _default_reservoir_factory (
525525 _ExponentialBucketHistogramAggregation
526526 ),
527527 AggregationTemporality .DELTA ,
@@ -532,7 +532,7 @@ def test_move_into(self):
532532 exponential_histogram_aggregation_1 = (
533533 _ExponentialBucketHistogramAggregation (
534534 Mock (),
535- default_reservoir_factory (
535+ _default_reservoir_factory (
536536 _ExponentialBucketHistogramAggregation
537537 ),
538538 AggregationTemporality .DELTA ,
@@ -589,7 +589,7 @@ def test_very_large_numbers(self):
589589 exponential_histogram_aggregation = (
590590 _ExponentialBucketHistogramAggregation (
591591 Mock (),
592- default_reservoir_factory (
592+ _default_reservoir_factory (
593593 _ExponentialBucketHistogramAggregation
594594 ),
595595 AggregationTemporality .DELTA ,
@@ -675,7 +675,7 @@ def test_full_range(self):
675675 exponential_histogram_aggregation = (
676676 _ExponentialBucketHistogramAggregation (
677677 Mock (),
678- default_reservoir_factory (
678+ _default_reservoir_factory (
679679 _ExponentialBucketHistogramAggregation
680680 ),
681681 AggregationTemporality .DELTA ,
@@ -723,7 +723,7 @@ def test_aggregator_min_max(self):
723723 exponential_histogram_aggregation = (
724724 _ExponentialBucketHistogramAggregation (
725725 Mock (),
726- default_reservoir_factory (
726+ _default_reservoir_factory (
727727 _ExponentialBucketHistogramAggregation
728728 ),
729729 AggregationTemporality .DELTA ,
@@ -742,7 +742,7 @@ def test_aggregator_min_max(self):
742742 exponential_histogram_aggregation = (
743743 _ExponentialBucketHistogramAggregation (
744744 Mock (),
745- default_reservoir_factory (
745+ _default_reservoir_factory (
746746 _ExponentialBucketHistogramAggregation
747747 ),
748748 AggregationTemporality .DELTA ,
@@ -764,7 +764,7 @@ def test_aggregator_copy_swap(self):
764764 exponential_histogram_aggregation_0 = (
765765 _ExponentialBucketHistogramAggregation (
766766 Mock (),
767- default_reservoir_factory (
767+ _default_reservoir_factory (
768768 _ExponentialBucketHistogramAggregation
769769 ),
770770 AggregationTemporality .DELTA ,
@@ -778,7 +778,7 @@ def test_aggregator_copy_swap(self):
778778 exponential_histogram_aggregation_1 = (
779779 _ExponentialBucketHistogramAggregation (
780780 Mock (),
781- default_reservoir_factory (
781+ _default_reservoir_factory (
782782 _ExponentialBucketHistogramAggregation
783783 ),
784784 AggregationTemporality .DELTA ,
@@ -792,7 +792,7 @@ def test_aggregator_copy_swap(self):
792792 exponential_histogram_aggregation_2 = (
793793 _ExponentialBucketHistogramAggregation (
794794 Mock (),
795- default_reservoir_factory (
795+ _default_reservoir_factory (
796796 _ExponentialBucketHistogramAggregation
797797 ),
798798 AggregationTemporality .DELTA ,
@@ -845,7 +845,7 @@ def test_zero_count_by_increment(self):
845845 exponential_histogram_aggregation_0 = (
846846 _ExponentialBucketHistogramAggregation (
847847 Mock (),
848- default_reservoir_factory (
848+ _default_reservoir_factory (
849849 _ExponentialBucketHistogramAggregation
850850 ),
851851 AggregationTemporality .DELTA ,
@@ -862,7 +862,7 @@ def test_zero_count_by_increment(self):
862862 exponential_histogram_aggregation_1 = (
863863 _ExponentialBucketHistogramAggregation (
864864 Mock (),
865- default_reservoir_factory (
865+ _default_reservoir_factory (
866866 _ExponentialBucketHistogramAggregation
867867 ),
868868 AggregationTemporality .DELTA ,
@@ -905,7 +905,7 @@ def test_one_count_by_increment(self):
905905 exponential_histogram_aggregation_0 = (
906906 _ExponentialBucketHistogramAggregation (
907907 Mock (),
908- default_reservoir_factory (
908+ _default_reservoir_factory (
909909 _ExponentialBucketHistogramAggregation
910910 ),
911911 AggregationTemporality .DELTA ,
@@ -922,7 +922,7 @@ def test_one_count_by_increment(self):
922922 exponential_histogram_aggregation_1 = (
923923 _ExponentialBucketHistogramAggregation (
924924 Mock (),
925- default_reservoir_factory (
925+ _default_reservoir_factory (
926926 _ExponentialBucketHistogramAggregation
927927 ),
928928 AggregationTemporality .DELTA ,
@@ -996,7 +996,7 @@ def test_min_max_size(self):
996996 exponential_histogram_aggregation = (
997997 _ExponentialBucketHistogramAggregation (
998998 Mock (),
999- default_reservoir_factory (
999+ _default_reservoir_factory (
10001000 _ExponentialBucketHistogramAggregation
10011001 ),
10021002 AggregationTemporality .DELTA ,
@@ -1027,7 +1027,7 @@ def test_aggregate_collect(self):
10271027 exponential_histogram_aggregation = (
10281028 _ExponentialBucketHistogramAggregation (
10291029 Mock (),
1030- default_reservoir_factory (
1030+ _default_reservoir_factory (
10311031 _ExponentialBucketHistogramAggregation
10321032 ),
10331033 AggregationTemporality .DELTA ,
@@ -1061,7 +1061,7 @@ def test_collect_results_cumulative(self) -> None:
10611061 exponential_histogram_aggregation = (
10621062 _ExponentialBucketHistogramAggregation (
10631063 Mock (),
1064- default_reservoir_factory (
1064+ _default_reservoir_factory (
10651065 _ExponentialBucketHistogramAggregation
10661066 ),
10671067 AggregationTemporality .DELTA ,
@@ -1170,7 +1170,7 @@ def test_cumulative_aggregation_with_random_data(self) -> None:
11701170
11711171 histogram = _ExponentialBucketHistogramAggregation (
11721172 Mock (),
1173- default_reservoir_factory (_ExponentialBucketHistogramAggregation ),
1173+ _default_reservoir_factory (_ExponentialBucketHistogramAggregation ),
11741174 AggregationTemporality .DELTA ,
11751175 Mock (),
11761176 )
@@ -1232,7 +1232,7 @@ def test_merge_collect_cumulative(self):
12321232 exponential_histogram_aggregation = (
12331233 _ExponentialBucketHistogramAggregation (
12341234 Mock (),
1235- default_reservoir_factory (
1235+ _default_reservoir_factory (
12361236 _ExponentialBucketHistogramAggregation
12371237 ),
12381238 AggregationTemporality .DELTA ,
@@ -1290,7 +1290,7 @@ def test_merge_collect_delta(self):
12901290 exponential_histogram_aggregation = (
12911291 _ExponentialBucketHistogramAggregation (
12921292 Mock (),
1293- default_reservoir_factory (
1293+ _default_reservoir_factory (
12941294 _ExponentialBucketHistogramAggregation
12951295 ),
12961296 AggregationTemporality .DELTA ,
0 commit comments