microsoft / ApplicationInsights-Profiler-AspNetCore

Application Insights Profiler sample and documentation
MIT License
67 stars 24 forks source link

The EventPipe Profiler doesn't work with Azure Function (App Service Plan) #205

Closed xiaomi7732 closed 4 months ago

xiaomi7732 commented 11 months ago

Describe the bug Profiler is not running in Azure Function.

To Reproduce Follow the getting started documentation and try run it in Azure Function.

Expected behavior Profiler runs.

Additional context With proper configuration, the GetSettings is running. It looks like the issue is within the bootstrapper.

Background: The background service doesn't seem working with Azure Function (classlib). Does it not run in Isolated mode either?

xiaomi7732 commented 4 months ago

This scenario is tested to be working. Feel free to open in issues for specific problems.