dexaai / dexter

LLM tools used in production at Dexa
https://dexter.dexa.ai
MIT License
69 stars 4 forks source link

Add OpenTelemetry tracing via Sentry #38

Closed rileytomasek closed 3 months ago

rileytomasek commented 3 months ago

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.

Example trace from Sentry: screenshot-2024-06-02 -T-10-21 png

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dexter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2024 2:21pm