Skip to main content
POST
/
api
/
v1
/
config
/
trace-behaviors
{
  "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"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

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.

trace_behavior
object

The TraceBehavior to create.

Response

A successful response containing the created TraceBehavior.

trace_behavior
object