Skip to content

Avoid double instrumentation in .NET #267

@mmanciop

Description

@mmanciop

Component(s)

No response

Describe the issue you're reporting

When the .NET application is built with the .NET SDK inside, we would inject a second SDK, and that is unsupported in the OTel SDK for .NET. We should detect using a mix of /proc/maps and dlsym to find out if the .NET app already comes in with a built-in OTel SDK, and avoid injection in those cases.

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

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