Prometheus uses Snappy encoded Protobuf over HTTP. I wanted to use Protoman to test some functionality with the remote write api in prometheus, but it expects snappy encoded protobuffers and sends back snappy encoded (content-encoding) protobuffers.
there are a few snappy javascript libraries to choose from