Closed
Description
Type of issue
Other (describe below)
Description
Edit by adegeo: Convert issue to doc issue template
Hi,
The Python sample from the official documentation does not work with open telemetry.
Error I see in the console log is...
WARNING:opentelemetry.exporter.otlp.proto.grpc.exporter:Transient error StatusCode.UNAVAILABLE encountered while exporting logs to localhost:21171, retrying in 16s.
{
"body": "Transient error StatusCode.UNAVAILABLE encountered while exporting logs to localhost:21171, retrying in 16s.",
"severity_number": 13,
"severity_text": "WARN",
"attributes": {
"code.filepath": "C:\\source\\temp\\aspire\\PythonSample\\hello-python\\.venv\\Lib\\site-packages\\opentelemetry\\exporter\\otlp\\proto\\grpc\\exporter.py",
"code.function": "_export",
"code.lineno": 328
},
"dropped_attributes": 0,
"timestamp": "2025-04-11T14:51:12.652936Z",
"observed_timestamp": "2025-04-11T14:51:12.653054Z",
"trace_id": "0x00000000000000000000000000000000",
"span_id": "0x0000000000000000",
"trace_flags": 0,
"resource": {
"attributes": {
"telemetry.sdk.language": "python",
"telemetry.sdk.name": "opentelemetry",
"telemetry.sdk.version": "1.32.0",
"service.instance.id": "xychgshs",
"service.name": "hello-python",
"telemetry.auto.version": "0.53b0"
},
"schema_url": ""
}
}
Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/get-started/build-aspire-apps-with-python?tabs=bash
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/get-started/build-aspire-apps-with-python.md
Document Version Independent Id
a7f23daf-24f1-a0ae-c376-ea14f6a3c6df
Platform Id
7575cde4-e299-4379-f156-b8f3a3a7a28a
Article author
IEvangelist
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done