Skip to content

Commit 9252915

Browse files
Remove Sentry integration to fix Deno compatibility
- Remove @sentry/node and @sentry/profiling-node dependencies - Remove Sentry initialization and error reporting code - Remove SENTRY_DSN constant and LANGTRACE_ERROR_REPORTING env var - Update README to remove error reporting documentation - Fixes TypeError: The URL must be of scheme file in Supabase Edge Functions Co-Authored-By: karthik@scale3labs.com <karthik@scale3labs.com>
1 parent 0b32c27 commit 9252915

File tree

5 files changed

+242
-1619
lines changed

5 files changed

+242
-1619
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ import * as Langtrace from '@langtrase/typescript-sdk' // Must precede any llm m
7373
Langtrace.init({ custom_remote_exporter: <your_exporter>, batch:<true or false>})
7474
```
7575

76-
### Error Reporting to Langtrace
77-
78-
By default all sdk errors are reported to langtrace via Sentry. This can be disabled by setting the following enviroment variable to `False` like so `LANGTRACE_ERROR_REPORTING=False`
79-
8076
## Additional Customization
8177

8278
- [withLangTraceRootSpan](https://docs.langtrace.ai/features/grouptraces) - this function is designed to organize and relate different spans, in a hierarchical manner. When you're performing multiple operations that you want to monitor together as a unit, this function helps by establishing a "parent" (`LangtraceRootSpan` or whatever is passed to `name`) span. Then, any calls to the LLM APIs made within the given function (fn) will be considered "children" of this parent span. This setup is especially useful for tracking the performance or behavior of a group of operations collectively, rather than individually. See [example](https://docs.langtrace.ai/features/grouptraces)

0 commit comments

Comments
 (0)