From d9eeb9cb28d77f3779e57a01f7a0edb42df65269 Mon Sep 17 00:00:00 2001 From: Stephen Chu Date: Tue, 23 Dec 2025 22:10:03 -0500 Subject: [PATCH] Simplify examples: Remove example 1, update project name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Consolidate to single example showing cross-workspace workflow - Change project name from "shared-trace-123" to "debug-project" - Mark scrubbing as optional in the example 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- README.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a30ffc3..c75f40a 100644 --- a/README.md +++ b/README.md @@ -79,33 +79,21 @@ Creates a new tracing project with the specified name (if it doesn't exist) or u The trace file can be either a raw extracted trace or a scrubbed trace. You can upload multiple traces to the same project by using the same project name. -## Complete Examples +## Complete Example -**Example 1: Extract and upload within same workspace** -```bash -export LANGSMITH_API_KEY='lsv2_pt_...' - -# Extract -./extract_trace.sh a1b2c3d4-5678-90ab-cdef-1234567890ab - -# Upload to new project -./upload_trace.sh trace_a1b2c3d4-5678-90ab-cdef-1234567890ab.json "my-debug-project" -``` - -**Example 2: Extract, scrub PII, and upload to different workspace** ```bash # Extract from source workspace export LANGSMITH_API_KEY='lsv2_pt_source_workspace_key' ./extract_trace.sh a1b2c3d4-5678-90ab-cdef-1234567890ab -# Scrub sensitive data +# Scrub sensitive data (optional) ./scrub_trace.sh trace_a1b2c3d4-5678-90ab-cdef-1234567890ab.json "content,email,api_key" # Review scrubbed file manually # Upload to destination workspace export LANGSMITH_API_KEY='lsv2_pt_destination_workspace_key' -./upload_trace.sh trace_a1b2c3d4-5678-90ab-cdef-1234567890ab.scrubbed.json "shared-trace-123" +./upload_trace.sh trace_a1b2c3d4-5678-90ab-cdef-1234567890ab.scrubbed.json "debug-project" ``` ## Help