Skip to content

Commit 2954641

Browse files
committed
Add documentation for test case
1 parent 374fb3b commit 2954641

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

opentelemetry-sdk/tests/metrics/integration_test/test_exponential_bucket_histogram.py

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ class TestExponentialBucketHistogramAggregation(TestCase):
4141
),
4242
)
4343
def test_synchronous_delta_temporality(self):
44+
"""
45+
This test case instantiates an exponential histogram aggregation and
46+
then uses it to record measurements and get metrics. The order in which
47+
these actions are taken are relevant to the testing that happens here.
48+
For this reason, the aggregation is only instantiated once, since the
49+
reinstantiation of the aggregation would defeat the purpose of this
50+
test case.
51+
"""
4452

4553
aggregation = ExponentialBucketHistogramAggregation()
4654

0 commit comments

Comments
 (0)