def METHOD_NAME(self):
    # ensures that the engine is traced
    rows = self.conn.execute("SELECT 1").fetchall()
    assert len(rows) == 1
    traces = self.pop_traces()
    # trace composition
    assert len(traces) == 1
    assert len(traces[0]) == 1
    span = traces[0][0]
    # check subset of span fields
    assert_is_measured(span)
    assert span.name == "postgres.query"
    assert span.service == "postgres"
    assert span.error == 0
    assert span.duration > 0