-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Monitor - ExporterMonitor OpenTelemetry ExporterMonitor OpenTelemetry ExporterService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
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)
PiotrMorawiec-TomTom, melvabout, alexander-petch and catalin-micu-diconiumgreen-sh
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Monitor - ExporterMonitor OpenTelemetry ExporterMonitor OpenTelemetry ExporterService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that