1use fuchsia_inspect as inspect;
5use fuchsia_inspect_derive::Inspect;
6
7#[derive(Inspect, Default, Debug)]
8pub struct SamplerExecutorStats {
9 pub total_project_samplers_configured: inspect::UintProperty,
10 pub healthily_exited_samplers: inspect::UintProperty,
11 pub errorfully_exited_samplers: inspect::UintProperty,
12 pub reboot_exited_samplers: inspect::UintProperty,
13 pub inspect_node: fuchsia_inspect::Node,
14}
15
16impl SamplerExecutorStats {
17 pub fn new() -> Self {
18 Self::default()
19 }
20}
21
22#[derive(Inspect, Default, Debug)]
23pub struct ProjectSamplerStats {
24 pub project_sampler_count: inspect::UintProperty,
26 pub metrics_configured: inspect::UintProperty,
29 pub cobalt_logs_sent: inspect::UintProperty,
31 inspect_node: fuchsia_inspect::Node,
32}
33
34impl ProjectSamplerStats {
35 pub fn new() -> Self {
36 Self::default()
37 }
38}