Skip to content

Commit 1480ade

Browse files
niilooylnhsingh
andauthored
docs: add SSL troubleshooting to delete traces script (#1537)
Add troubleshooting section to the delete traces script documentation to help users resolve SSL connection issues when attempting to delete traces from ClickHouse. ## Type of change **Type:** Update existing documentation ## Additional notes Users encountering "Could not find trace IDs" errors when running the delete_trace_by_id script often need to add the `--ssl` flag to properly connect to ClickHouse. This troubleshooting entry documents the solution and provides an alternative verification method using `clickhouse-cli`. --------- Co-authored-by: Lauren Hirata Singh <[email protected]>
1 parent 406d730 commit 1480ade

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/langsmith/script-delete-traces.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,17 @@ sh delete_trace_by_id.sh "clickhouse://default:password@localhost:8123/default"
6666
```
6767

6868
If you visit the LangSmith UI, you should now see all the specified traces have been removed.
69+
70+
## Troubleshooting
71+
72+
### "Could not find trace IDs" error
73+
74+
If you receive an error message stating that trace IDs could not be found, add the `--ssl` flag to your command. Without this flag, the script may not be able to properly connect to ClickHouse, resulting in false "trace ID not found" errors.
75+
76+
Example with SSL flag:
77+
78+
```bash
79+
sh delete_trace_by_id.sh "clickhouse://default:password@localhost:8123/default" --file path/to/traces.txt --ssl
80+
```
81+
82+
You can also verify that traces exist by connecting to ClickHouse directly using `clickhouse-cli` and querying for the trace IDs before running the deletion script.

0 commit comments

Comments
 (0)