add tracing cookbook

This commit is contained in:
remy
2025-06-27 12:09:19 +10:00
parent 42523a90f1
commit ba574d530e
17 changed files with 1722 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
# PocketFlow Tracing Configuration Template
# Copy this file to .env and replace the placeholder values with your actual Langfuse credentials
# Required Langfuse configuration
LANGFUSE_SECRET_KEY=your-langfuse-secret-key
LANGFUSE_PUBLIC_KEY=your-langfuse-public-key
LANGFUSE_HOST=your-langfuse-host-url
# Optional tracing configuration
POCKETFLOW_TRACING_DEBUG=true
POCKETFLOW_TRACE_INPUTS=true
POCKETFLOW_TRACE_OUTPUTS=true
POCKETFLOW_TRACE_PREP=true
POCKETFLOW_TRACE_EXEC=true
POCKETFLOW_TRACE_POST=true
POCKETFLOW_TRACE_ERRORS=true
# Optional session/user tracking
POCKETFLOW_SESSION_ID=your-session-id
POCKETFLOW_USER_ID=your-user-id