mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
crates/db gains observe(), which records one event per round trip with the call type, table and operation a Prisma call reports. NativeDatabase forwards those events to a Python ServiceLoggingEvents that Database.open injects, and it calls the same ServiceTypes.DB success and failure hooks as db_span on the proxy's event loop. A native health_check, which pings one pooled connection without running SQL (call type health_check), is the first observed operation The native pool is lazy, so a pool that could not connect stayed silent until the first ported query failed on a request path. Database.open now pings it once in the background and logs a warning on failure, without failing or delaying boot The crate AGENTS.md records the Prometheus and OTel names a Rust host sink must match |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_chunked_in.py | ||
| test_daily_activity_repository.py | ||
| test_daily_activity_sql.py | ||
| test_database.py | ||
| test_gateway_activity_repository.py | ||
| test_performance_alert_repository.py | ||
| test_plugin_publication.py | ||
| test_plugin_upload_repository.py | ||
| test_repositories.py | ||
| test_skill_submission_repository.py | ||
| test_spend_log_insert.py | ||
| test_unit_of_work.py | ||