{
"trace_behavior": {
"name": "<string>",
"base_head_sample_rate": 123,
"base_tail_sample_rate": 123,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"error_sample_options": {
"enabled": true,
"sample_rate": 123,
"sampling_type": "LOW_VALUE"
},
"fast_sample_options": {
"enabled": true,
"max_duration_seconds": 123,
"sample_rate": 123,
"sampling_type": "LOW_VALUE"
},
"large_trace_sample_options": {
"enabled": true,
"sample_rate": 123,
"sampling_type": "LOW_VALUE",
"span_count_threshold": 123
},
"slow_sample_options": {
"enabled": true,
"min_duration_seconds": 123,
"sample_rate": 123,
"sampling_type": "LOW_VALUE"
},
"slug": "<string>",
"small_trace_sample_options": {
"enabled": true,
"sample_rate": 123,
"sampling_type": "LOW_VALUE",
"span_count_threshold": 123
},
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"trace_behavior": {
"name": "<string>",
"base_head_sample_rate": 123,
"base_tail_sample_rate": 123,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"error_sample_options": {
"enabled": true,
"sample_rate": 123,
"sampling_type": "LOW_VALUE"
},
"fast_sample_options": {
"enabled": true,
"max_duration_seconds": 123,
"sample_rate": 123,
"sampling_type": "LOW_VALUE"
},
"large_trace_sample_options": {
"enabled": true,
"sample_rate": 123,
"sampling_type": "LOW_VALUE",
"span_count_threshold": 123
},
"slow_sample_options": {
"enabled": true,
"min_duration_seconds": 123,
"sample_rate": 123,
"sampling_type": "LOW_VALUE"
},
"slug": "<string>",
"small_trace_sample_options": {
"enabled": true,
"sample_rate": 123,
"sampling_type": "LOW_VALUE",
"span_count_threshold": 123
},
"updated_at": "2023-11-07T05:31:56Z"
}
}Chronosphere API token
If true, validates the specified configuration without creating the TraceBehavior. If the specified configuration is valid, the endpoint returns a partial response without the TraceBehavior. If the specified configuration is invalid, the endpoint returns an error.
The TraceBehavior to create.
Show child attributes
The name of the TraceBehavior. You can modify this value after the TraceBehavior is created.
Specifies the sample rate for head sampling. This rate applies to all root spans that are enrolled in head sampling, but don't have a specific rule defined for their service.
Specifies the base sample rate for fully assembled traces that don't apply to
the error_sample_options, fast_sample_options, slow_sample_options,
large_trace_sample_options, or small_trace_sample_options sampling options.
Optional. Specifies sampling options for traces whose root span is an error.
Show child attributes
Determines whether or not to define options for error traces.
Specifies the sample rate for traces with errors.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Optional. Specifies sampling options for traces whose root span duration is less than the specified threshold.
Show child attributes
Determines whether or not to define options for fast traces.
Duration in seconds under which traces are sampled according to the given sample rate.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Optional. Specifies sampling options for traces with spans greater than or equal to the specified threshold.
Show child attributes
Determines whether or not to define options for large traces.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Defines the sampling rate for large traces. If the number of spans in the
trace is grater than or equal to (>=) the span_count_threshold, the trace
is sampled according to the given sample rate.
Optional. Specifies sampling options for traces whose root span duration is greater than the specified threshold.
Show child attributes
Determines whether or not to define options for slow traces.
Duration in seconds under which traces are sampled according to the given sample rate.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE The unique identifier of the TraceBehavior. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the TraceBehavior is created.
Optional. Specifies sampling options for traces with spans less than or equal to the specified threshold.
Show child attributes
Determines whether or not to define options for small traces.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Defines the sampling rate for small traces. If the number of spans in the
trace is less than or equal to (<=) the span_count_threshold, the trace is
sampled according to the given sample rate.
A successful response containing the created TraceBehavior.
Show child attributes
The name of the TraceBehavior. You can modify this value after the TraceBehavior is created.
Specifies the sample rate for head sampling. This rate applies to all root spans that are enrolled in head sampling, but don't have a specific rule defined for their service.
Specifies the base sample rate for fully assembled traces that don't apply to
the error_sample_options, fast_sample_options, slow_sample_options,
large_trace_sample_options, or small_trace_sample_options sampling options.
Timestamp of when the TraceBehavior was created. Cannot be set by clients.
Optional. Specifies sampling options for traces whose root span is an error.
Show child attributes
Determines whether or not to define options for error traces.
Specifies the sample rate for traces with errors.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Optional. Specifies sampling options for traces whose root span duration is less than the specified threshold.
Show child attributes
Determines whether or not to define options for fast traces.
Duration in seconds under which traces are sampled according to the given sample rate.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Optional. Specifies sampling options for traces with spans greater than or equal to the specified threshold.
Show child attributes
Determines whether or not to define options for large traces.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Defines the sampling rate for large traces. If the number of spans in the
trace is grater than or equal to (>=) the span_count_threshold, the trace
is sampled according to the given sample rate.
Optional. Specifies sampling options for traces whose root span duration is greater than the specified threshold.
Show child attributes
Determines whether or not to define options for slow traces.
Duration in seconds under which traces are sampled according to the given sample rate.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE The unique identifier of the TraceBehavior. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the TraceBehavior is created.
Optional. Specifies sampling options for traces with spans less than or equal to the specified threshold.
Show child attributes
Determines whether or not to define options for small traces.
Defines the sample rate for traces during a specified duration.
Specifies the sampling type.
LOW_VALUE, HIGH_VALUE Defines the sampling rate for small traces. If the number of spans in the
trace is less than or equal to (<=) the span_count_threshold, the trace is
sampled according to the given sample rate.
Timestamp of when the TraceBehavior was last updated. Cannot be set by clients.