Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maui tracing on ContentPages #3629

Open
thinkocapo opened this issue Sep 25, 2024 · 1 comment
Open

Maui tracing on ContentPages #3629

thinkocapo opened this issue Sep 25, 2024 · 1 comment
Labels

Comments

@thinkocapo
Copy link

Problem Statement

Customer has a Maui app on Android and they say everything is launched on top of the Activity but they use Pages in Maui for screens.

Automatic Instrumentation sounds like it traces http requests but not Pages (Screens)

https://docs.sentry.io/platforms/dotnet/guides/maui/tracing/instrumentation/automatic-instrumentation/

Solution Brainstorm

Trace ContentPages.

@jamescrosswell
Copy link
Collaborator

Hey @thinkocapo ,

The Sentry.Maui integration doesn't currently include any automatic instrumentation for tracing.

The SentryHttpMessageHandler can be used to intercept outbound HttpClient requests and create tracing spans for these. However that functionality is not specific to MAUI - that works in Console applications or ASP.NET Core applications as well and it's not tied to Android activities in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Status: Waiting for: Product Owner
Development

No branches or pull requests

3 participants