use fuchsia_inspect as inspect;
use fuchsia_inspect_derive::Inspect;
#[derive(Inspect, Default, Debug)]
pub struct SamplerExecutorStats {
pub total_project_samplers_configured: inspect::UintProperty,
pub healthily_exited_samplers: inspect::UintProperty,
pub errorfully_exited_samplers: inspect::UintProperty,
pub reboot_exited_samplers: inspect::UintProperty,
pub inspect_node: fuchsia_inspect::Node,
}
impl SamplerExecutorStats {
pub fn new() -> Self {
Self::default()
}
}
#[derive(Inspect, Default, Debug)]
pub struct ProjectSamplerStats {
pub project_sampler_count: inspect::UintProperty,
pub metrics_configured: inspect::UintProperty,
pub cobalt_logs_sent: inspect::UintProperty,
inspect_node: fuchsia_inspect::Node,
}
impl ProjectSamplerStats {
pub fn new() -> Self {
Self::default()
}
}