dd-trace-dotnet icon indicating copy to clipboard operation
dd-trace-dotnet copied to clipboard

ActivitySource feature does not allow for meaningful resource names

Open lukeemery opened this issue 3 years ago • 0 comments

Describe the bug Resource name is always {ActivitySource.Name}.{Activity.OperationName}

Expected behavior Allow for customization by using

{Activity.DisplayName} when {Activity.DisplayName} != {Activity.OperationName}

Doing this would enable me to give more meaningful names, example being POST testapi.orionadvisor.com/api/v1/security/token

Screenshots image

Runtime environment (please complete the following information):

  • Instrumentation mode: lambda extension
    • arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension:25
    • arn:aws:lambda:us-east-1:464622532012:layer:dd-trace-dotnet:5
  • CLR: dotnet 6

Additional context Add any other context about the problem here.

lukeemery avatar Jul 30 '22 18:07 lukeemery