Skip to content

Check if RichPayloadEventSource is enabled or not before doing work for it. #952

@cijothomas

Description

@cijothomas

TelemetryContext.GlobalProperties was copied to TelemetryContext.Properties in RichPayloadEventSource.Process()
without checking if RichPayloadEventSource is enabled or not.
This is unwanted computation if RichPayloadEventSource is not enabled.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions