Share via


RequestMetadata.RequestName Property

Definition

Gets or sets name to be logged for the request.

public:
 property System::String ^ RequestName { System::String ^ get(); void set(System::String ^ value); };
public string RequestName { get; set; }
member this.RequestName : string with get, set
Public Property RequestName As String

Property Value

Remarks

RequestName is used in the following manner by outgoing HTTP request auto collectors:

  • For outgoing request metrics: RequestName is used as the request name dimension if present. If not provided, the RequestRoute value is used instead.
  • For outgoing request traces: RequestName is used as the Display name for the activity. That is, when looking at the E2E trace flow, this name is used in the Tree view of traces.
  • If RequestName isn't provided, the RequestRoute value is used instead.
  • For outgoing request logs: When present, RequestName is added as an additional tag to logs.

Applies to