HttpProtobuf doesn't work on dotNet Android project
Package
OpenTelemetry
Package Version
| Package Name | Version |
|---|---|
| OpenTelemetry.Api | 1.8.0 |
| OpenTelemetry | 1.8.0 |
| TBD | TBD |
Runtime Version
net8.0
Description
I'm trying to use the open telemetry on the DotNet Android project to generate errors. When the HttpProtobuf protocol is used generated errors on the mobile side are not synced to the server. The same code works fine when the Grpc protocol is used.
I have attached a sample POC project to replicate the issue, errors are generated when you click on Generate Erorr button
Note: For OpenTelementry logs montiroing I'm using graphana stack docker run -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti grafana/otel-lgtm
POC application OpenTelemetryApp.zip
Steps to Reproduce
Click on the Generate Error button in the mobile app
Expected Result
When the errors are generated they should be synced to the server when the HttpProtobuf protocol is used
Actual Result
Errors are not synced to the server
Additional Context
No response
This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day.
commenting to keep open.
this issue still exists in MAUI Android.
on the other hand, the OTEL libraries are working great on MAUI iOS.
Hi there! Would like to gather some more information:
- Please update to the latest OTLP exporter and let us know if you still encounter the issue.
- If you encounter the issue after update, please collect SDK self diagnostic logs during the timeframe the issue is happening: https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry/README.md#self-diagnostics.
Thanks!