OpenTelemetryScope.RecordAttributes Method
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.
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.