RequestMetadata.RequestName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.