Skip to content

no_op_observability_driver

NoOpObservabilityDriver

Bases: BaseObservabilityDriver

Source code in griptape/drivers/observability/no_op_observability_driver.py
@define
class NoOpObservabilityDriver(BaseObservabilityDriver):
    def observe(self, call: Observable.Call) -> Any:
        return call()

    def get_span_id(self) -> Optional[str]:
        return None

get_span_id()

Source code in griptape/drivers/observability/no_op_observability_driver.py
def get_span_id(self) -> Optional[str]:
    return None

observe(call)

Source code in griptape/drivers/observability/no_op_observability_driver.py
def observe(self, call: Observable.Call) -> Any:
    return call()