Skip to content

otel-dotnet-auto-instrumentation can not be triggered by all applications in an application pool in IIS #4239

Open
@muhaook

Description

@muhaook

we have 2 .net framework applications deployed into 1 application pool in IIS. The issue is that the otel-dotnet-auto-instrumentation (1.11.0) can not be triggered for the second application. Looks like it is related to CLR profiling API. Can someone help have a look please?

Steps to reproduce the issue:
1/ download the 2 attached apps, unzip them and put under C:\inetpub\wwwroot
2/ in inetmgr, select the 2 folders and then "Convert to Application" (pick up the same application pool, I picked up DefaultAppPool)
3/ install otel-dotnet-auto-instrumentation (1.11.0) and then register OpenTelemetry netfx DLLs to GAC
4/ on browser, access the first application: http://localhost/WebApiFirst/api/values
5/ on browser, access the second application: http://localhost/WaAbridge2Netfx462/api/values
6/ check otel logs and you'll find only the first application triggered the otel-dotnet-auto-instrumentation

WebApiFirst.zip
WaAbridge2Netfx462.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions