InsightRootCause¶
Structure Class¶
InsightRootCause
dataclass
¶
Bases: _SerdeShape
A root cause that contributes to an insight.
Attributes¶
affected_session_count
class-attribute
instance-attribute
¶
affected_session_count: int | None = ...
The number of distinct sessions affected by the root cause. A session can be affected by more than one root cause of the same insight.
explanation
instance-attribute
¶
explanation: str
An explanation of how the root cause leads to the failures in the insight.
sample_sessions
class-attribute
instance-attribute
¶
sample_sessions: list[SampleSession] | None = ...
A sample of up to 10 sessions affected by the root cause.