Skip to content

Enriching with TraceActivityAttribute #19

@knightfall

Description

@knightfall

Hi,
I came here from the blog post Using the Decorator Pattern to Auto-Instrument .Net Classes With Otel Tracing.
I found it while searching for a solution to access custom attributes of methods when using DispatchProxy.
In DispatchProxy Invoke, the methodinfo's custom attributes are always null if the custom attributes are in the methods of the class, not the interface.
I am wondering if I am missing something. I have tried to use Digma's TraceDecorator code to test and got the same behaviour.

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