RequestMetadata.RequestRoute 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 request's route template.
public:
property System::String ^ RequestRoute { System::String ^ get(); void set(System::String ^ value); };
public string RequestRoute { get; set; }
member this.RequestRoute : string with get, set
Public Property RequestRoute As String
Property Value
Remarks
Request Route is used for multiple use cases:
- For outgoing request metrics, it is used as the request name dimension (if RequestName is not provided).
- For Logs and traces, it is used to identify sensitive parameters from the path and redact them in the exported path, so sensitive data leakage can be avoided. If you are using redaction, the template should be accurate for the request else redaction won't be applied to sensitive parameters. For example, the template would look something like /v1/users/{userId}/chats/{chatId}/messages. For parameters to be redacted, the sensitive parameter names should match exactly as provided in configuration for outgoing tracing and outgoing logging autocollectors.
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.