Skip to content

Auto-instrument fine grained control of what is instrumented #37

@doppleware

Description

@doppleware

Goal: We want to support, for each namespace, what will be auto-instrumented
Implementation: allow the user to set flags for each namespace:

  • onlyAsync - Only async functions will be automatically instrumented
  • onlyPublic - Only public functions will be automatically instrumented

Syntax:
OTEL_DOTNET_AUTO_NAMESPACES={"my.namespace.com" : ["onlyAsync"], "my.othersnamespace.com" : ["onlyPublic"]}

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