# CriticalPathAnalysisConfig

Opt-in critical-path analysis settings. Computed during trace assembly; requires tail sampling. The maxSpans and sampleRate levers bound the per-trace cost.

**Type**: `object`

## Properties

- name: maxSpans (optional)
  type: integer
  description: Cap on how many spans are analyzed per trace; the critical chain is kept first. Null means no cap beyond the global per-trace assembly limit.

- name: sampleRate (optional)
  type: number
  description: Fraction of assembled traces to analyze, in [0.0, 1.0], selected deterministically by trace id. Defaults to 1.0 (analyze every trace).
