caller error handling for `write_prometheus` functions
Currently there's just a bunch of .unwrap()
s in those functions, it would probably be best to leave it up to the caller to decide how to handle errors, especially since failing to "serialize" metrics is probably the least of a downstream program's concern.