def detect()

in src/elasticotel/sdk/resources/__init__.py [0:0]


    def detect(self) -> "Resource":
        resource_info: Attributes = {
            telemetry_attributes.TELEMETRY_DISTRO_NAME: "elastic",
            telemetry_attributes.TELEMETRY_DISTRO_VERSION: version.__version__,
        }
        return Resource(resource_info)