Skip to content

Commit 716ab73

Browse files
committed
reorder imports to fix lint errors
1 parent e65241d commit 716ab73

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

exporters/aws-otel-otlp-udp-exporter/src/amazon/opentelemetry/exporters/otlp/udp/__init__.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
from .exporter import (
2-
# Classes
3-
UdpExporter,
4-
OTLPUdpMetricExporter,
5-
OTLPUdpSpanExporter,
6-
# Constants
72
DEFAULT_ENDPOINT,
3+
FORMAT_OTEL_METRICS_BINARY_PREFIX,
84
FORMAT_OTEL_SAMPLED_TRACES_BINARY_PREFIX,
95
FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX,
106
PROTOCOL_HEADER,
11-
FORMAT_OTEL_METRICS_BINARY_PREFIX,
7+
OTLPUdpMetricExporter,
8+
OTLPUdpSpanExporter,
9+
UdpExporter,
1210
)
1311

1412
__all__ = [

exporters/aws-otel-otlp-udp-exporter/src/amazon/opentelemetry/exporters/otlp/udp/exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
3-
import os
43
import base64
4+
import os
55
import socket
66
from logging import Logger, getLogger
77
from typing import Dict, Optional, Sequence, Tuple

0 commit comments

Comments
 (0)