Skip to content

opentelemetry-instrument 0.53b0 release breaks azure-monitor-opentelemetry #2487

@cforce

Description

@cforce

2025-04-12T10:04:15.99111 Connecting to the container 'main'...
2025-04-12T10:04:16.03838 Successfully Connected to container: 'main' [Revision: 'capps-backend-jfnrv5kcsyxqa--azd-1744450658-dbdb5c7d7-r5q9v', Replica: 'capps-backend-jfnrv5kcsyxqa--azd-1744450658']
2025-04-12T09:57:07.4151555Z stderr F 2025-04-12 09:57:07,364 - WARNING - Exception occurred when instrumenting: flask.
2025-04-12T09:57:07.4151567Z stderr F Traceback (most recent call last):
2025-04-12T09:57:07.4151589Z stderr F File "/usr/local/lib/python3.11/site-packages/azure/monitor/opentelemetry/_configure.py", line 200, in _setup_instrumentations
2025-04-12T09:57:07.4151601Z stderr F conflict = get_dist_dependency_conflicts(entry_point.dist) # type: ignore
2025-04-12T09:57:07.4151613Z stderr F ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-04-12T09:57:07.4151625Z stderr F File "/usr/local/lib/python3.11/site-packages/opentelemetry/instrumentation/dependencies.py", line 51, in get_dist_dependency_conflicts
2025-04-12T09:57:07.4151638Z stderr F for dep in dist.requires: TypeError: 'method' object is not iterable TypeError: 'method' object is not iterable
2025-04-12T09:57:07.4151650Z stderr F TypeError: 'method' object is not iterable
2025-04-12T09:57:07.4151662Z stderr F 2025-04-12 09:57:07,372 - WARNING - This is a warning message
2025-04-12T09:57:07.4151674Z stderr F 2025-04-12 09:57:07,375 - INFO - Started server process [13]
2025-04-12T09:57:07.4151686Z stderr F 2025-04-12 09:57:07,375 - INFO - Waiting for application startup.
2025-04-12T09:57:08.3320300Z stderr F 2025-04-12 09:57:08,331 - INFO - Application startup complete.
2025-04-12T09:57:08.3627583Z stderr F 2025-04-12 09:57:08,362 - INFO - Application startup complete.
2025-04-12T09:57:08.3641281Z stderr F 2025-04-12 09:57:08,363 - INFO - Application startup complete.
2025-04-12T09:57:08.3847667Z stderr F 2025-04-12 09:57:08,384 - INFO - Application startup complete.
2025-04-12T09:57:08.4119500Z stderr F 2025-04-12 09:57:08,411 - INFO - Application startup complete.
2025-04-12T09:57:08.4410831Z stderr F 2025-04-12 09:57:08,440 - INFO - Application startup complete.
2025-04-12T09:57:08.4437162Z stderr F 2025-04-12 09:57:08,443 - INFO - Application startup complete.
2025-04-12T09:57:08.4463553Z stderr F 2025-04-12 09:57:08,446 - INFO - Application startup complete.
2025-04-12T09:57:08.4470302Z stderr F 2025-04-12 09:57:08,446 - INFO - Application startup complete.


There is a known issue i found
open-telemetry/opentelemetry-python-contrib#3415


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions