LogAttributesValue
The allowed value types for key-value attributes on traces and spans. Attributes are used asRecord<string, LogAttributesValue> throughout the observability API.
Import
Type Definition
Usage
Attributes appear asRecord<string, LogAttributesValue> in these methods:
monitor.logTrace()— set attributes when creating a tracetrace.update()— update attributes on an existing tracetrace.logSpan()— set attributes when creating a spanspan.update()— update attributes on an existing span