AppSignal Python Collector Configuration
This documentation explains how to configure AppSignal for Python to use the AppSignal Collector to send data to AppSignal. This documentation assumes that you have already followed the installation instructions.
This is an experimental feature. The following functionality will not be available when using the AppSignal collector:
The following functionality is only available when using the AppSignal collector:
Deploying a collector
You can deploy your own collector by following the instructions in the AppSignal Collector documentation.
You can also have AppSignal host a collector for you using the "Hosted Collector" page in your organization's settings.
Configuring the collector endpoint
Set the collector_endpoint
configuration option to the address of your collector. When using a hosted collector, this address can be found under "Collector URL" in the "Hosted Collector" settings page.
from appsignal import Appsignal appsignal = Appsignal( # ... other settings ... collector_endpoint="https://collector.example", )
APPSIGNAL_COLLECTOR_ENDPOINT="https://collector.example"
The AppSignal for Python integration will now send data to the configured collector instead of using the bundled agent.