Skip to content

Opentelemtry 1.39.0 incompatible with azure-monitor-opentelemetry-exporter: 1.0.0b45 #44236

@jabbera

Description

@jabbera

Describe the bug
Newest opentelemtry removed LogData used by azure monitor. See:
https://github.com/open-telemetry/opentelemetry-python/blob/6de910fc6f9a3c5f9c762f592426fd2191e88174/CHANGELOG.md?plain=1#L28

To Reproduce
Steps to reproduce the behavior:
pip install opentelemetry-sdk>=1.39.0 azure-monitor-opentelemetry-exporter==1.0.0b45

python -c 'from azure.monitor.opentelemetry.exporter.export.logs._exporter import AzureMonitorLogExporter'

../../_temp/.tox/py311/lib/python3.11/site-packages/azure/monitor/opentelemetry/exporter/__init__.py:7: in <module>
    from azure.monitor.opentelemetry.exporter.export.logs._exporter import AzureMonitorLogExporter
../../_temp/.tox/py311/lib/python3.11/site-packages/azure/monitor/opentelemetry/exporter/export/logs/_exporter.py:14: in <module>
    from opentelemetry.sdk._logs import LogData
E   ImportError: cannot import name 'LogData' from 'opentelemetry.sdk._logs' (/agent/_work/_temp/.tox/py311/lib/python3.11/site-packages/opentelemetry/sdk/_logs/__init__.py)

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Monitor - ExporterMonitor OpenTelemetry ExporterService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions