- Django
- Flask
Django installation steps
-
From Heroku dashboard, select the relevant application you have created and choose Atatus from the add-on page. There are two ways to choose the add-on.
- From UI, you can click on the Configure add-ons and then select the subscription plan.
- From Command line
- Go to Atatus dashboard by clicking on the Atatus add-on and navigate to the Settings » Account Settings » License Keys in Atatus and copy the Atatus APM License key.
-
From your terminal, go to your Django app directory and set the license key and application name in heroku config as follows.
-
Add
atatus.contrib.djangotoINSTALLED_APPSin your settings.py: -
Add
atatusto your project’s requirements.txt file. -
Create a
Procfilein your root directory and add the following line. -
Run the following commands to commit the changes.
- Access your server from your web app or mobile app or curl. You will visualize your application’s metrics within minutes.