mirabelle.transport.codec

Encodes and decodes Riemann messages and events, between byte arrays, buffers, and in-memory types.

decode-pb-attributes

(decode-pb-attributes result e)

decode-pb-event

(decode-pb-event e)

Transforms a java protobuf to an Event.

decode-pb-metric

(decode-pb-metric result e)

decode-pb-msg

(decode-pb-msg m)

Transforms a java protobuf Msg to a defrecord Msg.

decode-pb-time

(decode-pb-time result e)

encode-pb-msg

(encode-pb-msg m)

Transform a Protobuf Msg or a Clojure map to a java Protobuf Msg.