Converts a plain object into an OpenTelemetry-compatible attributes record
by filtering out null values. Properties with null values are removed
because OpenTelemetry attributes do not support null.
Note: undefined values are not filtered and will pass through.
Converts a plain object into an OpenTelemetry-compatible attributes record by filtering out
nullvalues. Properties withnullvalues are removed because OpenTelemetry attributes do not supportnull.Note:
undefinedvalues are not filtered and will pass through.