Skip to content

[docs] Add Native AOT diagnostics support documentation for iOS-like platforms#2614

Merged
davidbritch merged 6 commits intodotnet:mainfrom
ivanpovazan:nativeaot-ios-diagnostics
Nov 12, 2024
Merged

[docs] Add Native AOT diagnostics support documentation for iOS-like platforms#2614
davidbritch merged 6 commits intodotnet:mainfrom
ivanpovazan:nativeaot-ios-diagnostics

Conversation

@ivanpovazan
Copy link
Member

Summary

This PR adds documentation on Native AOT diagnostics support when targeting iOS-like platforms.


Fixes: dotnet/runtime#106799

Copy link
Contributor

@davidbritch davidbritch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ivanpovazan

@davidbritch davidbritch merged commit 9d361f4 into dotnet:main Nov 12, 2024
@ivanpovazan
Copy link
Member Author

Thank you @davidbritch!


### Observability and telemetry

Tracing of .NET MAUI applications on mobile platforms is enabled through [dotnet-dsrouter](/dotnet/core/diagnostics/dotnet-dsrouter) which connects diagnostic tooling with .NET applications running on iOS and Mac Catalyst, over TCP/IP. However, Native AOT is currently not compatible with this scenario as it doesn't support EventPipe/DiagnosticServer components built with the TCP/IP stack.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EventPipe remote tracing is not the only "Observability and telemetry" scenario.

I assume that the "Explicitly in code" instrumentation https://learn.microsoft.com/en-us/dotnet/core/diagnostics/observability-with-otel#observability-approaches-in-net still works fine. Is that correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected in: #2619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document support for released app diagnostics with NativeAOT on iOS

3 participants