Skip to content

Adding Open Telemetry - Import "opentelemetry" could not be resolved #3220

@jacksorjacksor

Description

@jacksorjacksor

Type of issue

Code doesn't work

Description

When creating the otlp_tracing.py file with the packages from pip install opentelemetry-api opentelemetry-sdk opentelemetry-exporter-otlp-proto-grpc, the opentelemetry package import cannot be resolved:

Image

Page URL

https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/standalone-for-python?tabs=flask%2Cwindows

Content source URL

https://github.com/dotnet/docs-aspire/blob/main/docs/fundamentals/dashboard/standalone-for-python.md

Document Version Independent Id

3a23861f-7a3e-af94-6e23-b82a9f27c75d

Platform Id

545324c2-1323-bcdd-4247-5805c3b493fd

Article author

@IEvangelist

Related Issues


Associated WorkItem - 486530

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions