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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.