Monitoring Python Starlette
Instana automatically monitors your Starlette applications.
You don't need any code changes, configuration changes, redeploys, or process starts.
The Instana Python package bundles an ASGI middleware to provide request visibility into your asynchronous applications. For Starlette, this ASGI middleware is applied automatically to your Starlette-based applications.
Monitoring methods
To monitor your Starlette applications, you can either use the Instana AutoTrace webhook or install the Instana Python package.
The following table outlines the features of each method:
Features | AutoTrace webhook | Instana Python package |
---|---|---|
Automatic visibility | Available | Available |
Code changes | Not required | Not required |
Redeployment | Not required | Required |
Process restart | Not required | Required |
User steps | Not required | Not required |
Configuration changes | Not required | Not required |
AutoTrace webhook
Instana AutoTrace webhook is the default monitoring method, and you don't need any manual steps to activate monitoring. If you have the AutoTrace webhook installed, it remotely instruments and monitors your Starlette applications automatically.
For more information about installing the Instana AutoTrace webhook, see Installing the Instana AutoTrace webhook.
Instana Python package
You can manually instrument your Starlette applications by installing the Instana Python package. After you install and activate the package, Instana monitors your Starlette application. For more information about installing and activating the package, see Manual installation.
To check the supported versions of related components, see Supported components and versions.