Class OpenMetrics2TextFormatWriter

Object
OpenMetrics2TextFormatWriter
All Implemented Interfaces:
ExpositionFormatWriter

Write the OpenMetrics 2.0 text format. Unlike the OM1 writer, this writer outputs metric names as provided by the user — no _total or unit suffix appending. The _info suffix is enforced per the OM2 spec (MUST). This is experimental and subject to change as the OpenMetrics 2.0 specification evolves.