Skip to content

WSGI

The Aporia SDK needs to be initializes once in every process of your application.

If you're using a WSGI framework, this might require a little bit of extra work - namely calling aporia.init after every process fork.

UWSGI

from uwsgidecorators import postfork

@postfork
def init_aporia():
    aporia.init(token='123', environment='example')