pub trait Source: Send + Sync { fn append(&self, unit_name: &str, target: &mut Target); }
A type producing some metrics.
All this type needs to be able to do is output its metrics.
Appends the metrics to the target.
The unit name is provided so a source doesn’t need to keep it around.