Edit

Share via


HttpMetricsEnrichmentContext.AddCustomTag(String, Object) Method

Definition

Appends a custom tag to the list of tags to be recorded with the http.client.request.duration metric.

public:
 void AddCustomTag(System::String ^ name, System::Object ^ value);
public void AddCustomTag (string name, object? value);
member this.AddCustomTag : string * obj -> unit
Public Sub AddCustomTag (name As String, value As Object)

Parameters

name
String

The name of the tag.

value
Object

The value of the tag.

Remarks

This method must not be used from outside of the enrichment callbacks.

Applies to