investigate trait to unify building metrics
Currently hesione::{Counter, Gauge}
both have new
, new_unchecked
, and help
functions, and (some of) these are used by the procedural macro. I'm thinking histograms and summaries would end up having identical APIs for this, and wondering if it might be worth making a (sealed?) trait to unify this functionality. The main reason to do this is to get better error messages out of the proc macro when a field is given a type that doesn't have those methods.