(value: &Observation<u64>, suffix: &str)
| 145 | } |
| 146 | |
| 147 | fn display_number(value: &Observation<u64>, suffix: &str) -> String { |
| 148 | match value { |
| 149 | Observation::Available { value } => format!("{value}{suffix}"), |
| 150 | Observation::Unavailable { reason } => format!("unknown — {reason}"), |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | fn render_integrations(o: &mut String, report: &Report) { |
| 155 | section(o, "Agent integrations (installed packages)"); |