We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eab141e commit 7678350Copy full SHA for 7678350
1 file changed
tests/opentelemetry-docker-tests/tests/otlpexporter/__init__.py
@@ -15,7 +15,12 @@
15
import time
16
from abc import ABC, abstractmethod
17
18
-from opentelemetry.context import attach, detach, set_value
+from opentelemetry.context import (
19
+ _SUPPRESS_INSTRUMENTATION_KEY,
20
+ attach,
21
+ detach,
22
+ set_value,
23
+)
24
from opentelemetry.sdk.metrics._internal.export import (
25
MetricExportResult,
26
PeriodicExportingMetricReader,
@@ -124,7 +129,8 @@ def _create_test_metrics_data(self, num_data_points=6):
124
129
start_time_unix_nano=1000000 + i,
125
130
time_unix_nano=2000000 + i,
126
131
value=i + 1.0,
127
- ) for i in range(num_data_points)
132
+ )
133
+ for i in range(num_data_points)
128
134
]
135
metric = Metric(
136
name="otel_test_counter_foobar",
0 commit comments