Replace metrics crates by hand-written code to reduce dependency closure.
This seems particularly beneficial as we already depend on sketches-ddsketch via tantivy and write a significant part of our Prometheus metrics by hand.
This seems particularly beneficial as we already depend on sketches-ddsketch via tantivy and write a significant part of our Prometheus metrics by hand.