Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OpenTelemetry tracing via Sentry (#38)
* Add OpenTelemetry tracing via Sentry This adds OpenTelemetry tracing via Sentry to the base model class, which applies it to all models. It currently makes Sentry a peer dependency, which means we either need to do a major version bump and force all users into Sentry, or find a way to conditionally import Sentry and handle the case where it's not installed. * Add Sentry tags for prompt name and version * Wrap telemetry code in try/catch for extra safety * Fix accidentally updated pnpm-lock.yaml
- Loading branch information