CPUProfile

object

CPUProfile contains parameters for cpu profile collection

modestringrequired

The mode of cpu profile

Allowed values:timeinstruction

Example:time

sampling_intervalinteger(int64)

The interval for sampling. If the mode is ‘time’, this value is in microseconds. If the mode is ‘instruction’, this value is the step count.

Example:1000

Example

CaptureProfileInfo

object

CaptureProfile contains the information around the profile that needs to be captured. Currently supports CPU profiling, with potential for memory profiling in the future.

cpuobject

CPUProfile contains parameters for cpu profile collection

Show Child Parameters
Example

SanitizationScope

array

Where the rule applies

Default:request, response

SanitizationAction

string
  • mask: Replace with “******”

Allowed values:mask

Default:mask

HeaderSanitizationRule

object
namestring

Optional identifier for this rule

Example:api-key

header_namestringrequired

HTTP header name to sanitize (case-insensitive)

Example:auth-token

scopearray[string]required

Where the rule applies

Allowed values:requestresponse

Default:request, response

actionstringrequired
  • mask: Replace with “******”

Allowed values:mask

Default:mask

Example