Just a few simple steps to get started with Apitally.
prod
and dev
) for your app, or simply accept the defaults.
Take a note of the client ID displayed after submitting. You will need it in the next step.
MIDDLEWARE
list in your Django settings.
Then configure the Apitally middleware by adding APITALLY_MIDDLEWARE
to your settings file and including the client_id
for your app.
You’ll find the client_id
on the Setup instructions page for your app in the Apitally dashboard, which is displayed immediately after creating the app.
--enable-threads
and --lazy-apps
options. Otherwise the Apitally client won’t work correctly.HttpRequest
object as an argument and returns a consumer identifier, an ApitallyConsumer
object or None
.
preload_app
must be set to False
. Otherwise, the Apitally client will not work correctly.