pub struct RuntimeDiagnosticsViewOptionsV2 {
pub long_running_threshold: Duration,
pub max_task_kind_summaries: usize,
pub max_blocking_lane_summaries: usize,
pub max_schedule_tasks: usize,
pub max_metadata_resources: usize,
pub max_detail_entries: usize,
pub detail_scan_budget: usize,
}Expand description
Bounds applied while creating RuntimeDiagnosticsViewV2.
The detail budgets default to zero, so a routine sample emits only bounded aggregates and a task list is always an explicit request. Task age and group summaries still scan the active population; detail bounds do not cap that aggregate scan. Concurrent submissions and completions can be observed at different instants across groups; the snapshot is not a global transaction.
Fields§
§long_running_threshold: DurationElapsed time after which an active task is classified as long-running.
max_task_kind_summaries: usizeMaximum number of task-kind summaries included in the view.
max_blocking_lane_summaries: usizeMaximum number of blocking-lane summaries included in the view.
max_schedule_tasks: usizeMaximum number of schedule summaries included in the view.
max_metadata_resources: usizeMaximum number of metadata resources summarized in the view.
max_detail_entries: usizeMaximum number of task details emitted when a detail list is requested.
detail_scan_budget: usizeMaximum number of tasks examined, and of descendant task groups visited, when a detail list is requested.