LogAttributesValue
The allowed value type for trace and span attributes:str, int, float, or bool.
Overview
LogAttributesValue is a oneOf union that accepts a single primitive value. It is used as Dict[str, LogAttributesValue] for the attributes parameter when creating or updating traces and spans.
Accepted Types
| Python Type | Description |
|---|---|
str | String attribute value |
int | Integer attribute value (validated as float internally) |
float | Floating-point attribute value |
bool | Boolean attribute value |
actual_instance parameter or passed as a positional argument: