ostium.proto.encode_timing

ostium.proto

encode_timing(app, name, labels, agg) -> line, err

Encode a timing aggregate metric line

agg is {count, sum, min, max} in seconds, accumulated by the client between flushes. Count must be a positive integer and min must not exceed max.