Freigeben über


OpenTelemetryScope.RecordAttributes Method

Definition

Records multiple attribute key/value pairs for telemetry tracking.

public void RecordAttributes(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>> attributes);
member this.RecordAttributes : seq<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Public Sub RecordAttributes (attributes As IEnumerable(Of KeyValuePair(Of String, Object)))

Parameters

attributes
IEnumerable<KeyValuePair<String,Object>>

Collection of attribute key/value pairs.

Applies to