Last active
April 16, 2020 11:24
-
-
Save ElliottLandsborough/89b6b3d5c9e1fc53c88cc8afb5a00d72 to your computer and use it in GitHub Desktop.
Stackify custom instrumentation example for PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"instrumentation": [ | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "map", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "collect", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "flatten", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "unique", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "values", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "toArray", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "reject", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "filter", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "first", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "push", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
}, | |
{ | |
"class": "Illuminate\\Support\\Collection", | |
"method": "whereNotIn", | |
"trackedFunction": true, | |
"trackedFunctionName": "{{ClassName}}.{{MethodName}}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment