def METHOD_NAME(self, span: Span) -> None:
    if not LargeHTTPPayloadDetector._is_span_eligible(span):
        return
    data = span.get("data", None)
    # TODO(nar): `Encoded Body Size` can be removed once SDK adoption has increased and
    # we are receiving `http.response_content_length` consistently, likely beyond October 2023
    encoded_body_size = data and (
        data.get("http.response_content_length", None) or data.get("Encoded Body Size")
    )
    if not (encoded_body_size):
        return
    payload_size_threshold = self.settings.get("payload_size_threshold")
    if encoded_body_size > payload_size_threshold:
        self._store_performance_problem(span)