Skip to content

TraceAttributeStats

Source code in docs_src/capo_cloudwatchomni/types/trace_attribute_stats.py
class TraceAttributeStats(TypedDict, closed=True):
    name: "capo_cloudwatchomni.types.trace_attribute_name.TraceAttributeName"
    """The span attribute these values are for."""
    version: "int"
    """The version of the attribute's definition. Two runs' stats are comparable only at equal versions."""
    distinct: "int"
    """The number of distinct values across the cases."""
    values_hash: "str"
    """A SHA-256 hash of the sorted distinct values, one per line, in the form sha256:<64 hex digits>. Equal sets of values have equal hashes, even when values is truncated."""
    values: (
        "capo_cloudwatchomni.types.trace_attribute_value_list.TraceAttributeValueList"
    )
    """The most common values, up to 10, ordered by number of cases (most first) and then by value."""

distinct instance-attribute

distinct: int

The number of distinct values across the cases.

name instance-attribute

The span attribute these values are for.

values instance-attribute

The most common values, up to 10, ordered by number of cases (most first) and then by value.

values_hash instance-attribute

values_hash: str

A SHA-256 hash of the sorted distinct values, one per line, in the form sha256:<64 hex digits>. Equal sets of values have equal hashes, even when values is truncated.

version instance-attribute

version: int

The version of the attribute's definition. Two runs' stats are comparable only at equal versions.