Requirements
Before you can run AppSignal, make sure your application’s Operating System is supported.Installation
First, sign up for an AppSignal account and add the AppSignal for Python integration package to yourrequirements.txt file:
collector_endpoint: your collector’s base URL. Create a collector on the “Hosted Collector” page in your organization’s settings and copy its “Collector URL”, or deploy your own. Distributed tracing needs a hosted collector.service_name: names this application in distributed traces, so a trace that crosses several services shows which one did what. Use a different value for each service.
__appsignal__.py file in your project:
pip and python executables do not work, please use the pip3 and python3 executables instead.
The install tool does not add the collector options. Add collector_endpoint and service_name to the __appsignal__.py file it creates, as shown in the collector configuration guide.
Manual installation
You can also skip the automated tool and create the__appsignal__.py file manually: