Skip to content
Start here

Rules

View zone trace rules
GET/zones/{zone_id}/observability/tracing/rules
Replace zone trace rules
PUT/zones/{zone_id}/observability/tracing/rules
Delete zone trace rules
DELETE/zones/{zone_id}/observability/tracing/rules
ModelsExpand Collapse
RuleGetResponse object { rules }
rules: array of object { action, action_parameters, description, 2 more }

Trace rules in evaluation order.

action: "set_trace_settings"
action_parameters: object { sampling_ratio }
sampling_ratio: number

The ratio of requests sampled for tracing, from 0 to 1.

maximum1
minimum0
description: string
maxLength1000
enabled: boolean
expression: string

A Rules language expression that selects requests.

maxLength4096
minLength1
RuleUpdateResponse object { rules }
rules: array of object { action, action_parameters, description, 2 more }

Trace rules in evaluation order.

action: "set_trace_settings"
action_parameters: object { sampling_ratio }
sampling_ratio: number

The ratio of requests sampled for tracing, from 0 to 1.

maximum1
minimum0
description: string
maxLength1000
enabled: boolean
expression: string

A Rules language expression that selects requests.

maxLength4096
minLength1
RuleDeleteResponse object { rules }
rules: array of object { action, action_parameters, description, 2 more }

Trace rules in evaluation order.

action: "set_trace_settings"
action_parameters: object { sampling_ratio }
sampling_ratio: number

The ratio of requests sampled for tracing, from 0 to 1.

maximum1
minimum0
description: string
maxLength1000
enabled: boolean
expression: string

A Rules language expression that selects requests.

maxLength4096
minLength1