Class OpenMetrics2TextFormatWriter

java.lang.Object
io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
All Implemented Interfaces:
ExpositionFormatWriter

public class OpenMetrics2TextFormatWriter extends Object implements ExpositionFormatWriter
Write the OpenMetrics 2.0 text format. This is currently a skeleton implementation that produces identical output to OpenMetrics 1.0, with infrastructure for future OM2 features. This is experimental and subject to change as the OpenMetrics 2.0 specification evolves.