--- title: "Python Custom Instrumentation" slug: "python-custom-instrumentation" updated: 2019-04-18T17:24:00Z published: 2019-04-18T17:24:00Z canonical: "docs.stackify.com/python-custom-instrumentation" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.stackify.com/llms.txt > Use this file to discover all available pages before exploring further. # Python Custom Instrumentation ## Configuration **Custom Instrumentation** allows you to track classes and functions not natively supported in our Python Profiler. Include a `stackify.json` file in your application's root directory. **Example:** ``` { "instrumentation": [ { "class": "SampleClass1", "method": "execute", "module": "path.file" }, { "class": "SampleClass2", "method": "index", "module": "path.file" } ] } ``` **Custom Instrumentation** is supported in the **Stackify Python Profiler 1.1+** versions. ## Tracked Functions **Tracked Functions** allows you track a specific method call across requests, data will show up in your application dashboard under the **Tracked Functions** tab. **Example:** ``` { "instrumentation": [ { "class": "SampleClass1", "method": "execute", "module": "path.file" "trackedFunction": true, "trackedFunctionName": "{{ClassName}}.{{MethodName}}" }, { "class": "SampleClass2", "method": "index", "module": "path.file" "trackedFunction": true, "trackedFunctionName": "{{ClassName}}.{{MethodName}}" } ] } ```