Skip to content

Commit a5d1b0c

Browse files
committed
refactor dir structure and add unit tests
1 parent e2185f9 commit a5d1b0c

File tree

11 files changed

+174
-24
lines changed

11 files changed

+174
-24
lines changed

exporters/aws-otel-otlp-udp-exporter/aws_otel_otlp_udp_exporter/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

exporters/aws-otel-otlp-udp-exporter/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ dependencies = [
3131

3232
[project.urls]
3333
Homepage = "https://github.com/aws-observability/aws-otel-python-instrumentation/tree/main/exporters"
34+
35+
[tool.hatch.build.targets.wheel]
36+
packages = ["src/amazon"]

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

Whitespace-only changes.

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

Whitespace-only changes.

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

Whitespace-only changes.

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

Whitespace-only changes.

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

Whitespace-only changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
from .exporter import (
2+
# Classes
3+
UdpExporter,
4+
OTLPUdpMetricExporter,
5+
OTLPUdpSpanExporter,
6+
7+
# Constants
8+
DEFAULT_ENDPOINT,
9+
FORMAT_OTEL_SAMPLED_TRACES_BINARY_PREFIX,
10+
FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX,
11+
PROTOCOL_HEADER,
12+
FORMAT_OTEL_METRICS_BINARY_PREFIX
13+
)
14+
15+
__all__ = [
16+
"UdpExporter",
17+
"OTLPUdpMetricExporter",
18+
"OTLPUdpSpanExporter",
19+
"DEFAULT_ENDPOINT",
20+
"FORMAT_OTEL_SAMPLED_TRACES_BINARY_PREFIX",
21+
"FORMAT_OTEL_UNSAMPLED_TRACES_BINARY_PREFIX",
22+
"PROTOCOL_HEADER",
23+
"FORMAT_OTEL_METRICS_BINARY_PREFIX"
24+
]

exporters/aws-otel-otlp-udp-exporter/test_exporter.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)