get_log_level
MaximUsageCallback
__init__
log_success_event
Name | Description |
---|---|
kwargs | The kwargs. |
response_obj | The response object. |
start_time | The start time. |
end_time | The end time. |
make_handle_non_streaming_wrapper
instrument_crewai
- Detailed operation tracing for Crew, Flow, and Task executions
- Token usage tracking for LLM calls
- Tool execution monitoring
- Span-based operation tracking
- Error handling and reporting
- Crew.kickoff
- Agent.execute_task
- Task.execute_sync
- LLM.call and _handle_non_streaming_response
- Tool._run methods
Name | Type | Description |
---|---|---|
maxim_logger | Logger | A Maxim Logger instance for handling the tracing and logging operations. |
debug | bool | If True, show INFO and DEBUG logs. If False, show only WARNING and ERROR logs. |