Module prom::encoder [] [src]

Structs

TextEncoder

Implementation of an Encoder that converts a MetricFamily proto message into text format.

Constants

TEXT_FORMAT

Traits

Encoder

Functions

escape_string

escape_string replaces '\' by '\', new line character by '\n', and - if include_double_quote is true - '"' by '"'.

Type Definitions

Format