def METHOD_NAME(self) -> Iterator[None]:
    self._operation_name = self.execution_context.operation_name
    span_name = (
        f"{self._operation_name}" if self._operation_name else "Anonymous Query"
    )
    self.request_span = self.create_span(
        LifecycleStep.OPERATION,
        span_name,
        resource=self._resource_name,
        service="strawberry",
    )
    self.request_span.set_tag("graphql.operation_name", self._operation_name)
    assert self.execution_context.query
    operation_type = "query"
    if self.execution_context.query.strip().startswith("mutation"):
        operation_type = "mutation"
    elif self.execution_context.query.strip().startswith("subscription"):
        operation_type = "subscription"
    self.request_span.set_tag("graphql.operation_type", operation_type)
    yield
    self.request_span.finish()