发布

  • Feature/conditional tracing at runtime (#2789)

    frostbyte_neo 发布于 2025-07-30 12:33:04 +00:00

    • add sketch of runtime configs

    • create public API according to specs, and rewrite tests

    • create public API according to specs, and rewrite tests

    • prevent any tracing logic to be executed if not needed, for each ai framework

    • add examples as Python interactive scripts

    • add final version notebook for dynamic tracing, with smart trace handler example

    • remove wrong guardrail, condition writes on is tracing active state

    • move tracing runtime configs to the opik.decorator namespace

    • fix imports

    • add runtime config object as property of the OpikConfig class

    • fix spurious instantiation of trace and span objects when tracing is disabled for base track decorator subclasses

    • cache tracing state after first initialization

    • remove legacy disabled state property, as the state now resides in the runtime config object

    • simplify cookbook

    • move test to fitting namespace

    • add guard at the beginning of each function wrapper

    • refactor to module imports according to guidelines

    • update docs

    • update callback based integrations by blocking data right before calling Opik methods

    • update not longer releavant docstring

    • correlate span update with tracing state, and add tests

    • solve access violation

    • fix imports

    • revert the changes to ADK integration

    • align imports with contribution guidelines

    • fix unit tests, and also align import to guidelines

    • remove unnecessary comments

    • run precommit hooks python SDK

    • remove sys.modules that facilitated imports

    • fix import, and revert wrong reformat

    • add updated tst description and name


    Co-authored-by: Aliaksandr Kuzmik 98702584+alexkuzmik@users.noreply.github.com

    下载附件