def method(
        cls,
        of_cls: type,
        name: str,
        *,
        span_type: Optional[SpanAttributes.SpanType] = None,
    ) -> None:
        """Add the class with a method named `name`, its module, and the method
        `name` to the Default instrumentation walk filters."""

        logger.debug("adding method", of_cls, name, of_cls.__module__)

        Instrument.Default.MODULES.add(of_cls.__module__)
        Instrument.Default.CLASSES.add(of_cls)
        Instrument.Default.METHODS.append(
            InstrumentedMethod(
                method=name,
                class_filter=of_cls,
                span_type=span_type,
            )
        )
Add the class with a method named `name`, its module, and the method
        `name` to the Default instrumentation walk filters.
src/core/trulens/core/instruments.py