get_error_count
Count traces with exceptions in your LLM applications over a specified time period to monitor error rates and identify issues in Langfuse observability.
Instructions
Get number of traces with exceptions in last N minutes.
Args:
ctx: Context object containing lifespan context with Langfuse client
age: Number of minutes to look back (positive integer, max 7 days/10080 minutes)
Returns:
Dictionary with error statistics including trace count, observation count, and exception count
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Number of minutes to look back (positive integer, max 7 days/10080 minutes) |