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

Usage with OpenTelemetry? #222

Closed
dominic-codespoti opened this issue Jul 31, 2024 · 5 comments
Closed

Usage with OpenTelemetry? #222

dominic-codespoti opened this issue Jul 31, 2024 · 5 comments
Assignees
Labels
document Documentation issue question Further information is requested

Comments

@dominic-codespoti
Copy link

dominic-codespoti commented Jul 31, 2024

The Azure OpenTelemetry distro claims to support both the profiler and snapshot debugger (see below), however there is no documentation regarding how to configure it to support both features. Could you shed some light on this please? Thanks in advance!

image

@xiaomi7732
Copy link
Member

Hey @thed24, thanks for the ask.

At this moment, the windows profiler works with Application Insights OpenTelemetry distro (https://learn.microsoft.com/en-us/azure/azure-monitor/profiler/profiler).

There's no support for the EventPipe Profiler (this NuGet).

Please let me know if you have more questions.

@xiaomi7732 xiaomi7732 added question Further information is requested document Documentation issue labels Jul 31, 2024
@xiaomi7732 xiaomi7732 self-assigned this Jul 31, 2024
@dominic-codespoti
Copy link
Author

Thanks for the prompt response! Is any specific configuration required for an App Service running on Linux? Previously, a whole specific NuGet package was required to enable profiling, but now it does not seem to work out of the box. You did mention Windows, does this mean it doesn't work for Linux?

@xiaomi7732
Copy link
Member

@thed24, I am reading between the lines. Check my understanding, please:

  1. Your application is hosted on Linux.
  2. You have been using the Microsoft.ApplicationInsights.Profiler.AspNetCore for profiling.
    And
  3. You are asking: can profiler work if you switch from using application insights to Open Telemetry.

If I understand that correct, at this point, Microsoft.ApplicationInsights.Profiler.AspNetCore won't work for that scenario right now.

Please let me know if there's more questions. Thanks.

@xiaomi7732
Copy link
Member

Hi there, I am sorry, my info about the windows agent supporting OpenTelemetry wasn't accurate. I think there's a document error and its not supported yet.
There's work going on. I don't have a good ETA at this point.

@xiaomi7732
Copy link
Member

Hey @dominic-codespoti, now we have a new package under building to support OTel distro on Windows & Linux. Please check #230 out for more details. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
document Documentation issue question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants