Add WSGI Middleware
Add tracer for sqlalchemy

To use it in your code you should add 2 sqlalchemy engine event listeners

import sqlalchemy
from sqlalchemy import event as sa_event
from osprofiler import sqlalchemy as sa_profiler

engine = sqlaclhemy.create_engine('your_db_host')

sqlalchemy.event.listen(engine, 'before_execute',
                        osprofiler.sqlalchemy.before_execute('your_service'))

sqlalchemy.event.listen(engine, 'after_execute',
                        osprofiler.sqlalchemy.after_execute('your_service'))