Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Nov 26, 2020
1 parent 791f18e commit 02b6bae
Showing 1 changed file with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@
SumObserver,
UpDownCounter,
UpDownSumObserver,
ValueRecorder
)
from opentelemetry.sdk.metrics.export import ExportRecord
from opentelemetry.sdk.metrics.export.aggregate import (
SumAggregator, MinMaxSumCountAggregator
)
from opentelemetry.sdk.metrics.export.aggregate import SumAggregator
from opentelemetry.sdk.resources import Resource as SDKResource

THIS_DIR = os.path.dirname(__file__)
Expand Down Expand Up @@ -147,8 +144,7 @@ def test_translate_counter_export_record(self, mock_time_ns):
)
],
aggregation_temporality=(
AggregationTemporality.
AGGREGATION_TEMPORALITY_CUMULATIVE
AggregationTemporality.AGGREGATION_TEMPORALITY_CUMULATIVE
),
is_monotonic=True,
),
Expand Down Expand Up @@ -214,8 +210,7 @@ def test_translate_sum_observer_export_record(self, mock_time_ns):
)
],
aggregation_temporality=(
AggregationTemporality.
AGGREGATION_TEMPORALITY_CUMULATIVE
AggregationTemporality.AGGREGATION_TEMPORALITY_CUMULATIVE
),
is_monotonic=True,
),
Expand Down Expand Up @@ -282,8 +277,7 @@ def test_translate_updowncounter_export_record(self, mock_time_ns):
)
],
aggregation_temporality=(
AggregationTemporality.
AGGREGATION_TEMPORALITY_CUMULATIVE
AggregationTemporality.AGGREGATION_TEMPORALITY_CUMULATIVE
),
),
)
Expand Down Expand Up @@ -348,8 +342,7 @@ def test_translate_updownsum_observer_export_record(self, mock_time_ns):
)
],
aggregation_temporality=(
AggregationTemporality.
AGGREGATION_TEMPORALITY_CUMULATIVE
AggregationTemporality.AGGREGATION_TEMPORALITY_CUMULATIVE
),
),
)
Expand Down

0 comments on commit 02b6bae

Please sign in to comment.