Skip to content

Commit

Permalink
Python: fix module mappings for opentelemetry libs. (#20705)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaos authored and WorkerPants committed Mar 24, 2024
1 parent 38bd40d commit fb0a449
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,18 @@ def two_groups_hyphens_two_replacements_with_suffix(
"opencv-python-headless": ("cv2",),
"opensearch-py": ("opensearchpy",),
# opentelemetry
"opentelemetry-api": ("opentelemetry",),
"opentelemetry-exporter-otlp": ("opentelemetry.exporter",),
"opentelemetry-exporter-otlp-proto-grpc": ("opentelemetry.exporter.otlp.proto.grpc",),
"opentelemetry-exporter-otlp-proto-http": ("opentelemetry.exporter.otlp.proto.http",),
"opentelemetry-instrumentation-kafka-python": ("opentelemetry.instrumentation.kafka",),
"opentelemetry-sdk": (
"opentelemetry-api": (
"opentelemetry._logs",
"opentelemetry.baggage",
"opentelemetry.context",
"opentelemetry.environment_variables",
"opentelemetry.metrics",
"opentelemetry.propagate",
"opentelemetry.propagators",
"opentelemetry.sdk",
"opentelemetry.trace",
),
"opentelemetry-instrumentation-kafka-python": ("opentelemetry.instrumentation.kafka",),
"opentelemetry-semantic-conventions": ("opentelemetry.semconv",),
"opentelemetry-test-utils": ("opentelemetry.test",),
"paho-mqtt": ("paho",),
"phonenumberslite": ("phonenumbers",),
Expand Down

0 comments on commit fb0a449

Please sign in to comment.