pub struct RuntimeDiagnosticsViewV1 {
pub schema_version: String,
pub observed_at: DateTime<Utc>,
pub component: RuntimeComponent,
pub lifecycle_state: RuntimeLifecycleStateV1,
pub task_group_count: usize,
pub task_count: usize,
pub task_kinds: Vec<RuntimeTaskKindSummaryV1>,
pub blocking_lanes: Vec<RuntimeBlockingLaneSummaryV1>,
pub truncated: bool,
}Expand description
Versioned, bounded, and sanitized runtime diagnostics safe for authenticated operational APIs.
Unlike RuntimeDiagnosticsSnapshot, this view never exposes runtime IDs,
task IDs, task names, task-group names, executor names, arguments, or
configuration objects.
Fields§
§schema_version: StringSchema identifier for this serialized diagnostics view.
observed_at: DateTime<Utc>UTC timestamp at which the snapshot was observed.
component: RuntimeComponentBounded component category that owns the runtime.
lifecycle_state: RuntimeLifecycleStateV1Current lifecycle state of the root task group.
task_group_count: usizeNumber of task groups represented by the snapshot.
task_count: usizeNumber of active tasks represented by the snapshot.
task_kinds: Vec<RuntimeTaskKindSummaryV1>Bounded aggregate summaries grouped by task kind.
blocking_lanes: Vec<RuntimeBlockingLaneSummaryV1>Bounded aggregate summaries for blocking-executor lanes.
truncated: boolWhether one or more summaries were omitted by configured bounds.
Implementations§
Source§impl RuntimeDiagnosticsViewV1
impl RuntimeDiagnosticsViewV1
Sourcepub const SCHEMA_VERSION: &'static str = "rocketmq.runtime-diagnostics.v1"
pub const SCHEMA_VERSION: &'static str = "rocketmq.runtime-diagnostics.v1"
Stable schema identifier emitted by RuntimeDiagnostics::view_v1.