--- title: "Ruby Custom Instrumentation" slug: "ruby-custom-instrumentation" updated: 2019-03-27T19:39:00Z published: 2019-03-27T19:39:00Z canonical: "docs.stackify.com/ruby-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. # Ruby Custom Instrumentation ## Configuration **Custom Instrumentation** allows you to track classes and functions not natively supported in our Ruby Profiler. Include a `config/stackify.json` file in your application. **Example:** ```json { "instrumentation": [ { "class": "SampleClass1", "method": "execute" }, { "class": "SampleClass2", "method": "index" } ] } ``` ## Tracked Functions **Tracked Functions** allows you to track a specific method call across requests, data will show up in your application dashboard under the **Tracked Functions** tab. **Example:** ```json { "instrumentation": [ { "class": "SampleClass1", "method": "execute", "trackedFunction": true, "trackedFunctionName": "{{ClassName}}.{{MethodName}}" }, { "class": "SampleClass2", "method": "index", "trackedFunction": true, "trackedFunctionName": "{{ClassName}}.{{MethodName}}" } ] } ```