Module: Wurk::Metrics::Exposition
- Included in:
- ProcessFamilies, Prometheus
- Defined in:
- lib/wurk/metrics/exposition.rb
Overview
Prometheus text format 0.0.4 writers, shared by Metrics::Prometheus and
Metrics::ProcessFamilies. Each appends to the String out.
Constant Summary collapse
- LABEL_ESCAPES =
{ '\\' => '\\\\', '"' => '\\"', "\n" => '\\n' }.freeze
- LABEL_ESCAPES_RE =
/[\\"\n]/