Skip to content

Instrumentation improvements. #1206

@cijothomas

Description

@cijothomas

Http/ASP.NET/Core instrumentation now populates the raw objects into activity's custom property.

Proposals:

  1. Instead of doing this always, conditionally do it if explicitly enabled to avoid any unwanted perf hit for users who don't plan to leverage this.

  2. Should we somehow clear the customproperty after all the request is finished? Storing the raw httprequest/response etc to the activity, could delay them from being GC eligible? (The activity could be held in the Exporter for a long time..)

  3. Make the key names as public property on the corresponding options class.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions