Skip to content

Commit 93e87ca

Browse files
authored
docs: add telemetry event for exceptions (#10443)
add-telemetry-event
1 parent f0f3f23 commit 93e87ca

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

docs/docs/Develop/contributing-telemetry.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,13 @@ This telemetry event is sent for each component execution.
6565
- **Name**: Identifies the component, providing data on which components are most utilized or prone to issues.
6666
- **Seconds**: Time taken by the component to execute, offering performance metrics.
6767
- **Success**: Whether the component operated successfully, which helps in quality control.
68-
- **ErrorMessage**: Details of any errors encountered, crucial for debugging and improvement.
68+
- **ErrorMessage**: Details of any errors encountered, crucial for debugging and improvement.
69+
70+
### Exception
71+
72+
This telemetry event is sent when an unhandled exception is captured by Langflow's lifecycle or global exception handler.
73+
74+
- **Type**: The exception class name, such as `ValueError`.
75+
- **Message**: The exception message that was raised.
76+
- **Context**: Additional contextual information related to where the exception occurred, such as route, component, or operation details, when available.
77+
- **StackTraceHash**: A hash of the stack trace used to group similar exceptions for easier analysis.

0 commit comments

Comments
 (0)