Last active
June 30, 2016 20:59
-
-
Save pglombardo/5e226a6eafca5265635d5c34619a5716 to your computer and use it in GitHub Desktop.
Proposed Ruby config file instrumentation syntax
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
Array#sort: | |
# Whether to start a new trace | |
# | |
# default: false | |
start_trace: false | |
# For potentially recursive operations, report only the | |
# outermost call | |
# | |
# default: false | |
report_once: false | |
# Log the parameters this method was called with | |
# | |
# default: false | |
log_args: false | |
# Log the return value of this method | |
# | |
# default: false | |
log_return: false | |
# Should this be instrumented as a profile or layer? | |
# If false, this operation will be instrumented as | |
# a layer and layer_name should be provided. If true, | |
# layer_name is ignored. | |
# | |
# default: false | |
profile: false | |
# If this isn't a profile, this is the name that | |
# the layer will show up at in the dashboard | |
# If not specified, it will default to a Class#method string | |
# | |
# default: none | |
layer_name: "sort" | |
# Whether or not to collect and report a backtrace | |
# | |
# default: false | |
backtrace: true | |
# Capture and report any exceptions raised | |
# by this method. | |
# | |
# default: true | |
exceptions: true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment