Advanced Configuration
- 1 Minute to read
- Print
- DarkLight
- PDF
Advanced Configuration
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Python CLI Support
The Stackify Python Profiler can be used to track Python CLI applications.
Add the following to your Python application.
from stackifyapm.contrib import StackifyAPM
StackifyAPM()
Configuration is required to itemize which methods mark the start of a transaction.
Include a stackify.json
file in your application's root directory:
{
"application_name": "Python Application",
"environment": "Production",
"instrumentation": [{
"class": "SampleClass1",
"method": "execute",
"module": "path.file",
"transaction": true
}]
}
Python CLI applications are tracked in Retrace at Monitoring > Other Apps. You must use the Add App button to add your application.
Was this article helpful?