发布

  • [OPIK-695] sdk sentry integration (#1045)

    frostbyte_neo 发布于 2025-01-15 13:58:32 +00:00

    • Initial implementation - sentry error tracking

    • Implement unhandled exception processing hook

    • Register exception hook

    • Fix incorrect hooking

    • Fix get_installation_type function to correctly identify cloud

    • Fix lint errors

    • Fix conflict

    • Disable sentry in CI workflows

    • Add sentry_sdk dependency

    • Remove comet comment

    • Remove unused var

    • Add unit tests for chain filters

    • Update event filter tests

    • Fix sentry env var in test workflows

    • Use workspace as identifier if it is not

    • Revert back the config caching logic that could lead to broken SDK if invalid workspace value was passed once

    • Update data collection logic, add opik_error_handled tag

    • Add version restriction for haystack-ai

    • Change type hint log level from str to literal

    • Rename opik_error_handled to opik_handled

    • Remove level restriction for opik_handled tag

    • Fix tags overwriting in before_send callback

    • Move session id from tags to context

    • Add litellm version to context

    • Fix lint errors

    • Refactor opik_handled key setting, dump limits to 25 errors and 25 warnings

    • Refactor tags and contexts setting system, all data is set in the before_send callback now

    • Rename collect functions to reflect that they only work once. Update some docstrings.

    下载附件